首页 > Web开发 > 详细

phantomjs-prebuilt@2.1.14 install: `node install.js`

时间:2017-06-15 11:20:58      阅读:1174      评论:0      收藏:0      [点我收藏+]

在用vue-cli构建项目时,npm install 安装包的时候报错了。

错误信息:

npm ERR! Failed at the phantomjs-prebuilt@2.1.14 install script ‘node install.js‘.
npm ERR! Make sure you have the latest version of node.js and npm installed.

 依赖包phantomjs-prebuilt@2.1.14安装失败 跟网络有关系

 

解决方案:

1、搭梯子(vpn)安装(速度奇慢,可能跟我网络有关,半个小时装了这么点)

  技术分享

2、下载phantomjs-2.1.1-windows.zip包,放到上图saving to的文件目录里,再次运行npm install 就妥妥的了。

 

phantomjs-prebuilt@2.1.14 install: `node install.js`

原文:http://www.cnblogs.com/wb94s/p/7016423.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!