简体   繁体   中英

Installing Node Sailsjs package with NPM

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 -

https://gist.github.com/bhagaban/ebf7509c69b52f63aac5#file-failure-with-installing-sailisjs-using-npm

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM