Puppeteer failed to launch the browser process!

(node:259016) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!

node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory

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


sudo apt install libnss3-dev libatk-bridge2.0-0 libxkbcommon-x11-0 libgtk-3-0 libgbm-dev

Leave a comment

Your email address will not be published. Required fields are marked *