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

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
posted on 2021-08-31 11:13  banditi  阅读(270)  评论(0编辑  收藏  举报