Getting Error on Heroku. Failed to launch chrome Getting Error on Heroku. Failed to launch chrome heroku heroku

Getting Error on Heroku. Failed to launch chrome


I was having the same issue with puppeteer and Heroku. I installed the same build pack which you have mentioned and i used the following code and now its working fine.

puppeteer.launch({headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox']})

P.S : I deployed again after installing build pack.