发布于 4年前

npm install时,报错 install: `node install.js`安装失败

在执行 npm install时,出现如下错误

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

npm ERR! Exit status 1

npm ERR!

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

应该在命令后加参数 --ignore-scripts

npm install --ignore-scripts
npm
©2020 edoou.com   京ICP备16001874号-3