I get following error when deploying app with react-snap
to Heroku.
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
I applied all the changes, set all the buildpacks.
I even could react the the first deploy without "postbuild": "react-snap"
line, it workes.
But then adding lines here, will fail again. What now?
"reactSnap": {
"cacheAjaxRequests": true,
"inlineCss": true,
"http2PushManifest": true,
"puppeteerArgs": ["--no-sandbox", "--disable-setuid-sandbox"]
}
"postbuild": "react-snap"