Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Could not find browser revision 818858 #159

Closed
egyleader opened this issue Nov 28, 2021 · 2 comments
Closed

Could not find browser revision 818858 #159

egyleader opened this issue Nov 28, 2021 · 2 comments

Comments

@egyleader
Copy link

egyleader commented Nov 28, 2021

Describe the bug
when running the scrapper for the first time it gives this error :
Could not find browser revision 818858. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary.

where can I configure the browser type and executable path ??
and how can I run this PUPPETEER_PRODUCT=firefox npm install" command ?

@rickgoemans
Copy link

I had the same problem using a docker environment.

I did the npm install @nesk/puphpeteer command on my Macbook and therefore it ran node node_modules/puppeteer/install.js which results in downloading the mac os binary image.

The solution is either one of these options:

  • Running the npm install @nesk/pupheteer from inside the execution (in my case docker) environment
  • Manually running the install script from inside the execution (in my case docker) environment by running node node_modules/puppeteer/install.js.

@egyleader
Copy link
Author

thanks that solves it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants