VUE 源码 npm install 报错; Failed at the phantomjs-prebuilt@2.1.16 install script...

npm ERR! code ELIFECYCLE
npm ERR! errno 1
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.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2021-11-29T02_05_58_628Z-debug.log

解决方案:

npm install phantomjs-prebuilt@2.1.14 --ignore-scripts
posted @ 2021-11-29 10:10  柯宝宝智商感人  阅读(509)  评论(0编辑  收藏  举报