2014-11-23 82 views
0

當我運行安裝程序並運行一些程序後,把NPM安裝在命令行中它給了我這樣的:網絡入門套件安裝錯誤

npm ERR! [email protected] preinstall: `node ./cyclic.js` 
npm ERR! spawn ENOENT 
npm ERR! 
npm ERR! Failed at the [email protected] 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 npm ERR! node -v v0.10.33 npm ERR! npm -v 1.4.28 npm ERR! syscall spawn npm ERR!代碼ELIFECYCLE npm ERR! errno ENOENT npm ERR!不好的代碼0

回答

0

我也通過npm install命令安裝時出現了一些錯誤,但爲了讓它消失,我重新啓動了管理員模式下的命令提示符。它很容易解決問題。

希望它有幫助!