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
Error: Chromium revision is not downloaded. Run "npm install" or "yarn install" #5403
Comments
Hi, I see this error has been reported before (but closed). I am having the same error. I am using Markdown in VS Code on Linux 18.04. When I click in the preview window and select Chrome (Puppeteer) -> PDF, I get told "Error: Chromium revision is not downloaded. Run "npm install" or "yarn install" I have tried the suggestions in the earlier posting regarding this problem, but it doesn't help. Chromium is installed (version 79.0.3945.130) and I see the version number (though it's a different number with no decimal points) in the Node Modules .json file. Sorry, I don't see where/how to view version info of either Puppeteer or Node.js. They are all latest installations though (as of the last few days). I know Puppeteer is installed as I can see the folder on my system, as well as the node modules (tried editing the launcher.js file as instructed on another forum page, to include the executable path for Chromium, but no luck either) Any ideas? |
Also getting a similar error on Puppeteer 2.1.1:
I'm running inside a docker container (node:10-slim) on an OSX host and have tried both installing chromium manually (using |
As an update to my woes - because my Dockerfile build was running on a mac, but the image itself was running alpine, the
and updated my usage of puppeteer as follows:
Sorry if this is slightly off-topic, but it might help someone! |
@CluEleSsUK Are you using "dependencies": {
"chrome-aws-lambda": "^1.11.1",
"express": "^4.17.1",
"puppeteer-core": "^1.11.0"
}, I am having the same issue as this ticket has in subject. |
Did anyone solve this issue? |
Looks like I managed to fix this! Check out the official puppeteer <> docker docs:https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#running-puppeteer-in-docker Example project
|
We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days. |
We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it! |
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
Please include code that reproduces the issue.
What is the expected result?
What happens instead?
The text was updated successfully, but these errors were encountered: