npm install 时报 phantomjs-prebuilt@2.1.14 安装失败解决方案

来源:互联网 发布:word vba编程代码大全 编辑:程序博客网 时间:2024/05/29 13:24

错误如下图所示:


对应文字信息:

phantomjs-prebuilt@2.1.14 install: `node install.js`
Exit status 1

Failed at the phantomjs-prebuilt@2.1.14 install script 'node install.js'.
Make sure you have the latest version of node.js and npm installed.
If you do, this is most likely a problem with the phantomjs-prebuilt package,
not with npm itself.
Tell the author that this fails on your system:
    node install.js
You can get information on how to open an issue for this project with:
    npm bugs phantomjs-prebuilt
Or if that isn't available, you can get their info via:
    npm owner ls phantomjs-prebuilt
There is likely additional logging output above.

Please include the following file with any support request:
    D:\workspace\new\duduvoipweb\npm-debug.log


解决方式:

输入dos命令:npm install phantomjs-prebuilt@2.1.14 --ignore-scripts

阅读全文
2 0