I am trying to install PUPPETEER in windows 10 using below command and getting an error.
Command used to install PUPPETEER
npm install --save PUPPETEER
Error:
ERROR: Failed to set up Chromium r782078! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
Error: self signed certificate in certificate chain
I have also tried below option, still getting the same error
npm install -g puppeteer --unsafe-perm=true --allow-root
Note this is for Ubuntu 18, however, it should be a similar process for Windows though.
Set the environment variable (as the error suggests):
export PUPPETEER_SKIP_DOWNLOAD='true'
and then...
npm i puppeteer
npm install puppeteer --unsafe-perm
It worked for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With