Puppeteer Error: Chromium revision is not downloaded

前端 未结 8 508
谎友^
谎友^ 2021-02-04 01:31

I used npm i puppeteer as stated in the Documentation and I\'m getting the following error:

(node:2066) UnhandledPromiseRejectionWarning: Error: Chr

8条回答
  •  独厮守ぢ
    2021-02-04 01:45

    After many attempts I finally found the answer here:

    sudo npm install puppeteer --unsafe-perm=true --allow-root
    

    As @vsync pointed out, this only works for linux

提交回复
热议问题