Skip to content Skip to sidebar Skip to footer

Nodejs App Builds With Heroku, But It Shows Application Error

I am setting up a NodeJS Heroku app. I just want an empty app up and running. My dir includes a package.json and an app.js file. The Heroku app builds without errors, but then I j

Solution 1:

Maybe you need file Procfile

web: node app.js

enter image description here

enter image description here

Solution 2:

Looks like you're missing a Procfile

https://devcenter.heroku.com/articles/getting-started-with-nodejs#define-a-procfile

Post a Comment for "Nodejs App Builds With Heroku, But It Shows Application Error"