The build step for my static site includes a library which uses Puppeteer to catalog the SPA routes and generate static files for each route.
During deployment this build step fails while trying to run Puppeteer and I get the following error:
[2021-06-14T08:01:57.308144976Z] /workspace/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
Is there a way to install system level dependencies on the app platform?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.