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

  • 在执行 npm install 时报错:

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! [email protected] install: `node install.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] 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
    
  • 然后重新安装即可!

猜你喜欢

转载自blog.csdn.net/zz00008888/article/details/133345375