Last version of google chrome broke puppeteer
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: 5.0.0
- Platform / OS version: Docker (node 12)
- Node.js version: 12
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.<anonymous> (/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)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:19
- Comments:8

Top Related StackOverflow Question
I’ve had the same issue. I fixed it by adding
libxss1to the list of fetched libraries:I had the same issue on CentOS 7, I fixed by doing that: