Report this

What is the reason for this report?

Can't locate chromium directory for puppeteer on Digital Ocean App Platform.

Posted on January 25, 2023

Hi, I’m getting this error when I want to run puppeteer on digital ocean app platform.

Error: Failed to launch the browser process!
/workspace/node_modules/puppeteer/.local-chromium/linux-1022525/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

From what I’ve heard, the solution seems to be to install the missing dependencies by running sudo apt-get install, but I can’t do that on the app platform.

Does anyone know how to solve this? Thanks.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.