is:issue is:open When you install Puppeteer, it does not download a recent version of Chromium
See original GitHub issuewhen installing Puppeteer using npm install puppeteer, it does not download a recent version of Chromium as it is mentioned in the documentation.
When using puppeteer.launch({product: 'chrome'}), I found out it is looking for this folder: node_modules/puppeteer/.local-chromium/mac-756035 which does not exist. And it does not attempt to download.
Notes:
- I have not set the environment variable to skip the download. (also tried to setting it to false)
- Tried puppeteer versions 5.0.0 and 5.4.1
- I’m using a mac
In version 5.0.0 I get the following error:
Could not find browser revision 756035. Run “npm install” or “yarn install” to download a browser binary.
Where as in version 5.4.1 I get a different error:
Could not find browser revision 809590. Run “PUPPETEER_PRODUCT=firefox npm install” or “PUPPETEER_PRODUCT=firefox yarn install” to download a supported Firefox browser binary.’
Which is even stranger cause I explicitly used product: 'chrome' in the launch options.
cause the executablePath is something like: node_modules/puppeteer/.local-chromium/mac-756035 which does not exist.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:13

Top Related StackOverflow Question
Was anyone able to figure how to solve this issue? I started getting this error today and I’m not sure what else I can do.
I’ve tried removing puppeteer and re-installing (7.1.0 & 8.0.0), using different versions of node (8.15.1, 10.16.3 & 14.16.0) and npm(6.9.0 & 7.7.6) and keep getting the error:
I’m trying to run a Backstopjs(https://github.com/garris/BackstopJS - v5.3.0) test but it seems like puppeteer still can’t find chrome.
Any help would really be appreaciated.
Confirmed this is also happening for me