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.

Yarn install doesnt add chromium, got error: "Chromium revision is not downloaded."

See original GitHub issue

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: 0.13.0
  • Platform / OS version: WIN 10 64 bit
  • URLs (if applicable):

What steps will reproduce the problem?

Install with yarn install puppeteer. Run my app Get warning: "Chromium revision is not downloaded. "

Please include code that reproduces the issue. Is the demo code…

const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage();
  await page.goto('https://example.com');
  await page.screenshot({path: 'example.png'});

  await browser.close();
})();

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9

github_iconTop GitHub Comments

41reactions
brandonkalcommented, Aug 8, 2019

I just ran into an issue where Chromium was not installed. To fix the issue just run the install manually:

node node_modules/puppeteer/install.js
9reactions
cilerlercommented, Jan 5, 2018

I believe this issue still exists.

npm install // <= initial install for all packages in package.json
npm install puppeteer // <= to make sure puppeteer gets installed.  I know it is weird but you have to install this separately

now if we try the same thing with YARN

yarn install
yarn install puppeteer // <= not working

second command does not install it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - Puppeteer Error: Chromium revision is not downloaded
I only managed to fix the issue by manually installing Chromium after much searching and trying most of the suggestions:
Read more >
Error: Chromium revision is not downloaded. Run "npm install ...
Run "npm install" or "yarn install" #5403 ... and select Chrome (Puppeteer) -> PDF, I get told "Error: Chromium revision is not downloaded....
Read more >
A critical error: Chromium revision is not downloaded.
A critical error: Chromium revision is not downloaded. I have been trying to get ... Run "npm install" or "yarn install" at Launcher.launch ......
Read more >
Troubleshooting - Puppeteer
Make sure all the necessary dependencies are installed. You can run ldd chrome | grep not on a Linux machine to check which...
Read more >
chromium - npm
node-chromium allows you to easily add Chromium binaries to your project and use it for automation, testing, web scraping or just for fun....
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