I'm having trouble getting SPFx up and running on Ubuntu. I'm using the following commands
sudo apt-get install nodejs -y
sudo apt-get update -y
sudo apt-get install build-essential -y
sudo npm install -g gulp -y
sudo npm install -g yo -y
sudo npm install -g @microsoft/generator-sharepoint
sudo mkdir helloworld-webpart
sudo cd helloworld-webpart
But when I start to make the template using the command:
sudo yo @microsoft/sharepoint
I get this message:
**Error: EACCES: permission dented, open ' /home/ubl/ . conftg/tnstght-nodejs/tnstght-yo. json.1337487756'**
What am I doing wrong?