-
Notifications
You must be signed in to change notification settings - Fork 90
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
@puppeteer/browsers package doesn't install dependencies #121
Comments
Proposed workaround: https://serverfault.com/questions/577942/install-only-dependencies-of-a-given-package-in-debian-or-ubuntu-apt TL;DR:
Nonetheless, I'd argue that this bug belongs to https://github.com/puppeteer/puppeteer instead of this repository. |
@thiagowfx I think it probably belongs here, because users who download the zip files themselves without using Puppeteer also face the same issue. I'm aware of the various workarounds I've seen being discussed. My point here is that Chrome for Testing should provide official guidance; that it is not "a dedicated flavor of Chrome targeting the testing use case" [1] if the repository does not provide a self-contained way to install fully functioning Chrome (which includes dependencies). [1] From https://developer.chrome.com/blog/chrome-for-testing/ |
FWIW, this was the trick I used (from Dockerfile, on Ubuntu):
Essentially install |
@ngan please, no more workarounds. I've seen them all. That's not the point. This is an product of Google, one of the largest tech companies in the world. We shouldn't need workarounds. There should be official guidance. |
The README.md and official blog post both make it look as though installing via
@puppeteer/browsers
will give you working Chrome browsers.However, installing this way does not provide all the required dependencies. If I run my reproduction Dockerfile
I get the error
This is talked about somewhat in #55, where people detail their various workarounds for installing the dependencies. I've raised this issue separately, because #55 is talking about instructions being missing entirely for installation from the ZIP files, whereas my concern is that the provided instructions for using
@puppeteer/browsers
are incomplete and misleading.There should be an officially blessed way to install the dependencies; it's unfortunate that the consumers of chrome-for-testing are guessing how to best install the dependencies.
The text was updated successfully, but these errors were encountered: