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
Update troubleshooting.md #6529
Conversation
The latest Chromium provided by Alpine is at version 85.
I'm having the following problem with chromium/puppeteer. my docker file is at the bottom of the page. Any help resolving this would be really appreciated. I have tried many iterations and different ways to get it working over a few days but it just fails. Error: Failed to launch the browser process! Received signal 6 TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
node:internal/process/promises:218 Error: Failed to launch the browser process! Received signal 6 TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
my docker image. FROM node:15.0.1 RUN apt-get update && WORKDIR /usr/src/app COPY package*.json ./ COPY . . ENV NODE_ENV=production EXPOSE 8080 /* |
@scooleo , https://github.com/Zenika/alpine-chrome#-the-best-with-seccomp might help you |
Thanks @macbre for the reply, really appreciated - I'll check it out now!I spun up an Ubuntu VM and had the same problem. I ran the following to fix the issue in Ubuntu. I am trying to build an image now to include the packages. sudo apt-get install gconf-service libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxss1 libxtst6 libappindicator1 libnss3 libasound2 libatk1.0-0 libc6 ca-certificates fonts-liberation lsb-release xdg-utils wget |
@scooleo , when running Chromium outside Docker - https://github.com/macbre/phantomas/blob/devel/Troubleshooting.md#fixing-no-usable-sandbox |
The latest Chromium provided by Alpine is at version 85.