npm ERR! phantomjs-prebuilt@2.1.
2017-06-02 本文已影响0人
lMadman
这个是我最近把项目在windows上运行执行npm install 时的错误;
出错原因:所安装的依赖包phantomjs-prebuilt没有在线安装成功,跟网络环境有关;
可以通过以下命令安装成功:
npm install phantomjs-prebuilt@2.1.14 --ignore-scripts
这个是我最近把项目在windows上运行执行npm install 时的错误;
出错原因:所安装的依赖包phantomjs-prebuilt没有在线安装成功,跟网络环境有关;
可以通过以下命令安装成功:
npm install phantomjs-prebuilt@2.1.14 --ignore-scripts