
T21:33:17.543 app sea /workspace/node_modules/puppeteer/.local-chromium/linux-1036745/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory Can you show how you’re initializing puppeteer? T21:33:17.543 app sea Browser creation: Error: Failed to launch the browser process!

I’m getting this error when using your Dockerfile. & apt-get remove google-chrome-stable -y \ & apt-get install google-chrome-stable -y -no-install-recommends \ & sh -c 'echo "deb stable main" > /etc/apt//google.list' \ & curl -location -silent | apt-key add - \ # from the official apt chrome's shared lib deps. # This is a little brittle, since the puppeteer chrome could in theory diverge So do that, but immediately uninstall (to free up layer space). # the official apt distro of `google-chrome-stable` should bring the right It's a little tedious to find and maintain that list but # But the bundled chromium implicitly needs a bunch of shared libs on

# and puppeteer releases are only guaranteed to work with that version. # npm install of `puppeteer` brings its own bundle chromium build, # Install chrome stable from sources, then remove it. In case it helps anyone out (and as I saw this thread was recently referenced): Here’s our updated Dockerfile for running a puppeteer-based node service on Fly, now based on the node:slim base image: FROM node:slim AS app
