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

docs(troubleshooting): install libXss in Dockerfile #6236

Merged
merged 1 commit into from Jul 17, 2020

Conversation

envoked
Copy link

@envoked envoked commented Jul 17, 2020

The latest version of chromium requires libXss which isn't installed in the official node docker images.

Failed to launch the browser process!
/app/node_modules/puppeteer/.local-chromium/linux-756035/chrome-linux/chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory



TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

This updates the Dockerfile example to also install libxss1 which solves the issue. It also bumps the base docker image to the latest node LTS (12).

The new version of chromium requires libxss.
@envoked envoked changed the title Update docker troubleshooting docs to install libxSS docs(troubleshooting): install libXss in Dockerfile Jul 17, 2020
Copy link
Collaborator

@jackfranklin jackfranklin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jackfranklin jackfranklin merged commit 2331584 into puppeteer:main Jul 17, 2020
@envoked envoked deleted the patch-1 branch July 17, 2020 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants