npm ERR! phantomjs

来源:互联网 发布:软件项目工作量统计表 编辑:程序博客网 时间:2024/06/15 18:38
npm ERR! Windows_NT 6.1.7601npm ERR! argv "G:\\NodeJs\\Install\\node.exe" "G:\\NodeJs\\Install\\node_modules\\npm\\bin\\npm-cli.js" "install" "phantomjs@1.9.20"npm ERR! node v4.4.3npm ERR! npm  v4.1.1npm ERR! code ELIFECYCLEnpm ERR! phantomjs@1.9.20 install: `node install.js`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'.npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the phantomjs package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR!     node install.jsnpm ERR! You can get information on how to open an issue for this project with:npm ERR!     npm bugs phantomjsnpm ERR! Or if that isn't available, you can get their info via:npm ERR!     npm owner ls phantomjsnpm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:npm ERR!     E:\WorkSpaceList\NxEGRP\YDZF_V3.0_QH\src\main\webapp\mobile\npm-debug.log

原因是国内被墙了,亲测下面命令可以使用:
npm install phantomjs@1.9.20 —ignore-scripts

之后再 npm install 就可以了。

0 0
原创粉丝点击