当我运行安装过程并在运行某些进程后将npm install放在命令行中时它给了我这个:
npm ERR! safefs@3.0.6 preinstall: `node ./cyclic.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the safefs@3.0.6 preinstall script.
npm ERR! This is most likely a problem with the safefs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./cyclic.js
npm ERR! You can get their info via:
npm ERR! npm owner ls safefs
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\ Users \ Class Talkies \ Desktop \ www \ web-starter-kit-master 错误的ERR! node -v v0.10.33 错误的ERR! npm -v 1.4.28 错误的ERR!系统调用生成 错误的ERR!代码ELIFECYCLE 错误的ERR! errno ENOENT 错误的ERR!不好的代码0
答案 0 :(得分:0)
通过npm install
命令安装时我也遇到了一些错误,但为了让它消失,我以管理员模式重新启动了命令提示符。它很容易解决问题。
希望它有所帮助!