I want to install SailsJs using Node Package Manager.
https://github.com/balderdashy/sails-docs/blob/master/getting-started/getting-started.md
I try to install with the below command on terminal -
sudo npm -g install sails
But it fails with an error -
npm ERR! Error: ENOENT, open '/Users/.../node_modules/sails/node_modules/grunt-contrib-watch/node_modules/gaze/package.json'
Seems like there is some problem with the gaze package.
And I am not sure how to fix this. The full error stack is here -
Please help me with a way to fix this.
尝试sudo npm install -g npm
更新您的npm版本,并尝试将npm cache clean
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.