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

 

 

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

尝试单独安装:npm install phantomjs-prebuilt@2.1.16 还是报错

 

Please report this full log at https://github.com/Medium/phantomjs

npm ERR! Darwin 15.0.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"

npm ERR! node v4.4.3

npm ERR! npm  v3.10.9

npm ERR! code ELIFECYCLE

 

npm ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the phantomjs-prebuilt@2.1.16 install script 'node install.js

 

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

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

 

相关参考资料

http://stackoverflow.com/questions/40992231/failed-at-the-phantomjs-prebuilt2-1-13-install-script-node-install-js

 

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

 

posted @   m0w3n  阅读(1726)  评论(0编辑  收藏  举报
编辑推荐:
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)
历史上的今天:
2019-01-27 从零构建以太坊(Ethereum)智能合约到项目实战——学习笔记5
点击右上角即可分享
微信分享提示