首页 前端知识 npm install 报错 npm ERR! [email protected] install: `node install.js`

npm install 报错 npm ERR! [email protected] install: `node install.js`

2024-05-05 12:05:20 前端知识 前端哥 180 447 我要收藏
  • 在执行 npm install 时报错:

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! puppeteer@1.20.0 install: `node install.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the puppeteer@1.20.0 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\AppData\Roaming\npm-cache_logs\2020-04-17T15_35_46_212Z-debug.log
    
  • 解决办法,执行:

    $ npm config set puppeteer_skip_chromium_download true -g
    
  • 然后重新安装即可!

转载请注明出处或者链接地址:https://www.qianduange.cn//article/6973.html
标签
评论
发布的文章

JQuery中的load()、$

2024-05-10 08:05:15

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!