Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch browser #89

Open
Arcens opened this issue Dec 20, 2021 · 1 comment
Open

Unable to launch browser #89

Arcens opened this issue Dec 20, 2021 · 1 comment

Comments

@Arcens
Copy link

Arcens commented Dec 20, 2021

Hello,

Thank you for this docker.
However, I have a problem when I want to use your docker file, I have the following error :

(node:577) UnhandledPromiseRejectionWarning: Error: Unable to launch browser, error message: Could not find browser revision 782078.

But If I create the instance of Xvfb manually inside the container, Puppeteer works! But not with the entrypoint.sh

Do you have any idea?

Thank you for your support.

@jcblw
Copy link
Member

jcblw commented Apr 23, 2022

I have some idea, I have some fails in CI randomly due to this. I think this has to do with the version of Chrome being installed not matching the version of Puppeteer being installed. I had no idea that was a thing until I saw similar issues. Thinking in future versions I would like to pull out the installation of Chrome. I had it in there because I was hoping layer cache would make it a lot faster of an install.

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

No branches or pull requests

2 participants