google-charts-node icon indicating copy to clipboard operation
google-charts-node copied to clipboard

"Failed to launch Browser process" error

Open saivigneshs opened this issue 2 years ago • 1 comments

Hi all, I'm trying to deploy a nodeJS service to cloudfoundry. It has a "google-charts-node" dependency. The app crashes with the following error, ERR /home/vcap/deps/0/node_modules/google-charts-node/node_modules/puppeteer/.local-chromium/linux-756035/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such f ile or directory

image

Has anyone come across such error. Suggestions are welcome. Thank you!

saivigneshs avatar Jun 03 '22 14:06 saivigneshs

Your environment on Cloud Foundry is missing dependencies, specifically puppeteer dependencies. You can learn more about dependency troubleshooting in the puppeteer docs: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

Hope this helps!

typpo avatar Jun 03 '22 20:06 typpo