google-charts-node
google-charts-node copied to clipboard
"Failed to launch Browser process" error
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
Has anyone come across such error. Suggestions are welcome. Thank you!
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!