Ajp
Ajp

Reputation: 333

Sails.js not installing on Mac

enter image description here

enter image description here

Hi I am trying to install Sails.js on a Macbook. For some reason it is giving me this error message and I do not know what is going on. Can someone please show me how to fix it? Thanks!

Upvotes: 0

Views: 394

Answers (1)

Salketer
Salketer

Reputation: 15711

The error says you do not have access...

EACCES: permission denied

It seems you ran

npm install sails -g

You should try running this with sudo

sudo npm install sails -g

Upvotes: 4

Related Questions