Need help installing puppeteer
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: none (need help installing)
- Platform / OS version: Windows 10
- URLs (if applicable):
- Node.js version: 10.9.0
- npm version: 6.2.0
What steps will reproduce the problem?
Please include code that reproduces the issue.
npm i puppeteer
causes an error
ERROR: Failed to download Chromium r579032! Set “PUPPETEER_SKIP_CHROMIUM_DOWNLOAD” env variable to skip download. { Error: unable to verify the first certificate at TLSSocket.onConnectSecure (_tls_wrap.js:1047:34) at TLSSocket.emit (events.js:182:13) at TLSSocket._finishInit (_tls_wrap.js:629:8) code: ‘UNABLE_TO_VERIFY_LEAF_SIGNATURE’ } npm WARN Desktop@1.0.0 No description npm WARN Desktop@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! puppeteer@1.7.0 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the puppeteer@1.7.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\short.DESKTOP-GAV8MA2\AppData\Roaming\npm-cache_logs\2018-08-18T21_19_58_834Z-debug.log
I also tried npm i puppeteer on Windows Subsystem Ubuntu (version 16.04.4 LTS) and i get the same error.
Any suggestions on how to resolve this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (1 by maintainers)
You can install it by setting
--unsafe-perm=true
parameter as:npm install puppeteer --unsafe-perm=true
According to this
@aslushnikov Thank you 😃. I was able to install puppeteer. It was completely my fault. Thank you for your time and sorry.