puppeteer: Could not find browser revision 809590
- 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.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 28
- Comments: 18
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.
No version works, npm installs globally but there’s no Chrome download step.
For example
Running a puppeteer script dies with:
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
same here in mac os 10.13.6 chrome 86.0.4240.111 (Official Build) (x86_64) node 14.15.0 puppeteer/-core 5.4.1
setting PUPPETEER_SKIP_DOWNLOAD has no effect
also solved in windows use same method
My issue was on how I was setting the volumes on docker-compose. if I add
It throws that error. Hopefully it helps somebody.
In my case, the solution seems to be just upgrading from Puppeteer v5.4.1 to v9.0.0. That seems to fix it. No need to download a specific Chromium and specify the executablePath.
Try adding the following settings to package.json file.
"config": { "puppeteer_download_path": "./node_modules/puppeteer/.local-chromium" }
In my Windows environment, the above code works.
Same here…