SharePoint Framework (SPFX) and Linux

Posted on Updated on

Recently Microsoft released a the preview version of SPFx, as Microsoft say:

“The SharePoint Framework is a Page and Part model that enables client-side development for building SharePoint experiences. It facilitates easy integration with the SharePoint data, and provides support for open source tooling development.”

I’ve been use it in windows 10 1670, but in Linux also.

This Though, mini Article is a way to provide my experience and some suggestions for you. In my case I use Hyper-V with a VM for 1 processor and RAM defined for max (6GB)

Install Lubuntu, its lite and very user friendly. It’s based on Ubuntu but have a lite UI (LXDE).

For me the main problem was with the VM Screen resolution, for accomplish this, just run

Change this line

sudo nano /etc/default/grub



TO (in my case 1366×768)

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash video=hyperv_fb:1366×768″


sudo update-grubsudo update-grub

Save and restart

At this time, you must follow some procedures in the LXTerminal

Install node.js

sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm

Install Gulp and npm

sudo npm i -g yo gulp


Install the Compiler Tools

sudo apt-get install build-essential

Install Yeoman SharePoint Generator

sudo npm i -g @microsoft/generator-sharepoint


Install Visual Studio Code


Next just follow all procedures from the SPFx official Git and enjoy



Gulp give error installing

sudo npm install npm –g
sudo ln -s /usr/bin/nodejs /usr/bin/node

Install Gulp again and continue all points


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.