美文网首页我爱编程
npm ERR! phantomjs-prebuilt@2.1.

npm ERR! phantomjs-prebuilt@2.1.

作者: lMadman | 来源:发表于2017-06-02 14:23 被阅读0次

这个是我最近把项目在windows上运行执行npm install 时的错误;

出错原因:所安装的依赖包phantomjs-prebuilt没有在线安装成功,跟网络环境有关;

可以通过以下命令安装成功:

npm install phantomjs-prebuilt@2.1.14 --ignore-scripts

相关文章

网友评论

    本文标题:npm ERR! phantomjs-prebuilt@2.1.

    本文链接:https://www.haomeiwen.com/subject/twkufxtx.html