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.
i use heroku and add buildpack
https://buildpack-registry.s3.amazonaws.com/buildpacks/jontewks/puppeteer.tgz
i use heroku and add buildpack
https://buildpack-registry.s3.amazonaws.com/buildpacks/jontewks/puppeteer.tgz
This has solved my problem.
Thank you very much!
Hey @nicolascavallin, Did you manage to make it work on heroku? It keeps stopping my app
```2020-11-07T15:27:11.728329+00:00 app[web.1]: Authenticated successfully
2020-11-07T15:27:11.945234+00:00 app[web.1]: Client is ready!
2020-11-07T15:27:47.092961+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2020-11-07T15:27:47.116905+00:00 heroku[web.1]: Stopping process with SIGKILL
2020-11-07T15:27:47.224565+00:00 heroku[web.1]: Process exited with status 137
2020-11-07T15:27:47.274618+00:00 heroku[web.1]: State changed from starting to crashed
@mpirescarvalho yes, it's working!
On your Heroku App go to Settings > Buildpacks, and add: https://buildpack-registry.s3.amazonaws.com/buildpacks/jontewks/puppeteer.tgz
If 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:
puppeteer: {
args: [
'--no-sandbox',
],
},
I hope it would work.
@nicolascavallin thank you, that worked
Most helpful comment
@mpirescarvalho a little detail I've forgotten.
In your WAClient use as parameter:
I hope it would work.