When I run: npm install -g sails
I get this error/warning: (node-gyp rebuild 2> builderror.log) || (exit 0)
I have tried:
npm install -g node-gyp
npm update
npm install
nothing seems to work. I used to have sails up and running on my machine untill I uninstalled it. Now that I want to use it again it refuses to install the package. Any suggestions?
Maybe npm need to be updated, try this :
npm install -g npm
npm install -g sails
Look this post it may help How can I update Node.js and npm to the next versions?
eventually I solved this by rebooting my windows machine and open the nodejs command prompt as an admin and installing sails.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With