npm install时总是报phantomjs-prebuilt@2.1.14安装失败

来源:互联网 发布:圆形蓄水池算法 编辑:程序博客网 时间:2024/05/29 16:15

原文地址:http://www.2cto.com/kf/201702/599109.html

在npm install时总是报如下错误,

尝试单独安装:npm installphantomjs-prebuilt@2.1.14 还是报错

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Please report thisfull log at https://github.com/Medium/phantomjs
 
npmERR!Darwin15.0.0
 
npmERR!argv"/usr/local/bin/node""/usr/local/bin/npm""install"
 
npmERR!nodev4.4.3
 
npmERR!npmv3.10.9
 
npmERR!codeELIFECYCLE
 
 
 
npmERR!phantomjs-prebuilt@2.1.14install: `node install.js`
 
npmERR!Exit status 1
 
npmERR!
 
npmERR!Failed at the phantomjs-prebuilt@2.1.14install script 'node install.js

 

最后通过以下命令安装成功:

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

 



阅读全文
0 0
原创粉丝点击