I'm trying to deploy a nodejs app on heroku for the first time, but I'm stuck at the command "heroku open" since it gives me an application error and no information as to where it crashed. The app runs locally without problem. How would you proceed to debug this? Thanks for your advice and time.
If running heroku local
does not help, run a remote shell:
heroku run -a <your app name> /bin/bash
, and there run npm start
to see the logs and debug the issue on the Heroku server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With