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
Last version of google chrome broke puppeteer #6192
Comments
I've had the same issue. I fixed it by adding
|
I also have met the same issue~ error Failed to launch the browser process! TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md |
Hi all, I'm not sure why the docs suggest Thanks! |
@jackfranklin done ! #6267 |
The docs still mention
Should that be updated as well? |
@foundryspatial-duncan yes !! Feel free to make a PR 🙂 |
I had the same issue on CentOS 7, I fixed by doing that:
|
So... adding libxss1 is enough? Is the stable chrome version the correct one to use? |
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
run with a clean (--no-cache) build.
I followed the steps here https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md for docker
RUN apt-get update \ && apt-get install -y wget gnupg \ && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ && apt-get update \ && apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf \ --no-install-recommends \ && rm -rf /var/lib/apt/lists/*
I was able to make it work by changing google-chrome-unstable with google-chrome-stable. Is this okay ? If so do you want a PR to update the documentation ?
What is the expected result?
No errors
What happens instead?
sut_1 | Error: Failed to launch the browser process!
sut_1 | /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
sut_1 |
sut_1 |
sut_1 | TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
sut_1 |
sut_1 | at onClose (/app/node_modules/puppeteer/lib/cjs/node/BrowserRunner.js:193:20)
sut_1 | at Interface. (/app/node_modules/puppeteer/lib/cjs/node/BrowserRunner.js:183:65)
sut_1 | at Interface.emit (events.js:327:22)
sut_1 | at Interface.EventEmitter.emit (domain.js:482:12)
sut_1 | at Interface.close (readline.js:416:8)
sut_1 | at Socket.onend (readline.js:194:10)
sut_1 | at Socket.emit (events.js:327:22)
sut_1 | at Socket.EventEmitter.emit (domain.js:482:12)
sut_1 | at endReadableNT (_stream_readable.js:1221:12)
sut_1 | at processTicksAndRejections (internal/process/task_queues.js:84:21)
The text was updated successfully, but these errors were encountered: