whatsapp-web.js: Puppeteer not runs in Heroku
The app runs fine in Macos, but when I tried to deploy in Heroku it’s failed.
I used different kinds of setups in Puppeteer like --no-sandbox and headless, even I followed the Puppeteer guide for Heroku, but I couldn’t make it.
Could someone run on Heroku?
Thanks.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 19 (2 by maintainers)
i use heroku and add buildpack
https://buildpack-registry.s3.amazonaws.com/buildpacks/jontewks/puppeteer.tgz@mpirescarvalho yes, it’s working!
On your Heroku App go to Settings > Buildpacks, and add:
https://buildpack-registry.s3.amazonaws.com/buildpacks/jontewks/puppeteer.tgzIf you add the pack after deploy, you must make a new deploy.
Feel free to contact me if you can’t make it work.
@mpirescarvalho a little detail I’ve forgotten.
In your WAClient use as parameter:
I hope it would work.
@nicolascavallin thank you, that worked