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.

Could not find browser revision 809590

See original GitHub issue
  • Puppeteer version: 5.4.1
  • Platform / OS version: windows x64 & linux x64
  • Node.js version: 15.0.1

With the above config, puppeteer reports

Could not find browser revision 809590

If I just downgrade it to 5.4.0, everything is fine.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:28
  • Comments:18

github_iconTop GitHub Comments

13reactions
vigluccicommented, Nov 13, 2020

A workaround that worked for me was to manually set the executable path using ENV in my dockerfile.

ENV PUPPETEER_EXECUTABLE_PATH="/usr/bin/google-chrome-stable".

Additionally, you might like the https://www.npmjs.com/package/chrome-launcher NPM package which also worked.

13reactions
akaleeroycommented, Oct 31, 2020

No version works, npm installs globally but there’s no Chrome download step.

For example

>npm install -g puppeteer@3.0.0
+ puppeteer@3.0.0
added 49 packages from 79 contributors in 4.594s

Running a puppeteer script dies with:

(node:1416) UnhandledPromiseRejectionWarning: Error: Could not find browser revision 737027. Run "np
m install" or "yarn install" to download a browser binary.
    at ChromeLauncher.launch (C:\Users\pc\AppData\Roaming\npm\node_modules\puppeteer\lib\Launcher.js
:200:23)
    at async startPuppeteer (D:\Dropbox\Agenda\INCFC\Barometru 2019\Practice culturale de timp liber
 in spatii publice\Sources\gulpfile.js:245:15)
    at async exportCharts (D:\Dropbox\Agenda\INCFC\Barometru 2019\Practice culturale de timp liber i
n spatii publice\Sources\gulpfile.js:259:5)

Node.js v13.13.0

I think the problem is npm update no longer downloads and installs Chromium. This fails to happen silently, and it fails on any version of Puppeteer. You think ah I’ll just roll back and it’ll work. But no version does because of this.

Pretty scary bug… 🎃

Workaround

// gulpfile.js
// (...)
browser = await puppeteer.launch({
      // Point to existing Chrome install because NPM won't install Chromium
      executablePath: 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe'
    });
Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find browser revision 756035. Run "npm install" - ...
I am getting following exception. (node:7008) UnhandledPromiseRejectionWarning: Error: Could not find browser revision 756035.
Read more >
How to find the right CHROMIUM_REVISION value for ...
So far, the best solution I found is to check npm.taobao.org/mirrors/chromium-browser-sna.., and pick the values shown for your platform.
Read more >
pageres error
version installed by puppeteer (818858) does not remove the error. This is on Ubuntu. ... Error: Could not find browser revision 818858. Run...
Read more >
puppeteer运行出现,Could not find browser revision 809590.
Could not find browser revision 809590. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" 报错,显然时没 ...
Read more >
Troubleshooting
Could not find expected browser locally ​ ... cd <project-dir-path>/node_modules/puppeteer/.local-chromium/linux-<revision>/chrome-linux/
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