question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: Failed to set up Chromium r800071! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.

See original GitHub issue

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: N/A
  • Platform / OS version: PopOS Linux
  • URLs (if applicable):
  • Node.js version:
# node -v
v10.19.0
# npm -v
6.14.8

What steps will reproduce the problem?

Please include code that reproduces the issue.

  1. npm install -g puppeteer

What is the expected result? It installs

What happens instead?

# npm install -g puppeteer

> puppeteer@5.3.1 install /usr/local/lib/node_modules/puppeteer
> node install.js

ERROR: Failed to set up Chromium r800071! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
{ [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/puppeteer/.local-chromium']
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/usr/local/lib/node_modules/puppeteer/.local-chromium' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! puppeteer@5.3.1 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the puppeteer@5.3.1 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!     /root/.npm/_logs/2020-10-08T18_28_23_193Z-debug.log
# echo $PUPPETEER_SKIP_DOWNLOAD
true

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:30
  • Comments:7

github_iconTop GitHub Comments

25reactions
nullromocommented, Jun 10, 2021

*--unsafe-perm, not --unsafe-perms 😉

11reactions
ashish6194commented, Jan 28, 2022

npm install --ignore-scripts puppeteer

Read more comments on GitHub >

github_iconTop Results From Across the Web

puppeteer not able to install: ERROR: Failed to set up ...
ERROR : Failed to set up Chromium r782078! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. Error: self signed certificate in ...
Read more >
ERROR: Failed to download Chromium r686378!
Then you would utilize Puppeteers Environment Variables to skip the Chromium download and point it to where you manually downloaded Chromium.
Read more >
error: failed to set up chromium r869685! set ... - Code Grepper
... set up Chromium r1011831! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. // export or const PUPPETEER_SKIP_DOWNLOAD='true' ...
Read more >
ERROR: Failed to set up Chromium r901912! Set ... - CSDN博客
ERROR : Failed to set up Chromium r901912! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. { Error: read ETIMEDOUT at TLSWrap.
Read more >
راهنمایی نصب puppeteer مربوط به npm [بایگانی]
node install.js. ERROR: Failed to set up Chromium r800071! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found