DEV Community

Discussion on: Hosting a Nodejs and MongoDB App on Heroku

Collapse
 
minhhunghuynh1106 profile image
igdev

github.com/igdev116/facebook-clone...
I can't push my server to Heroku. It's always "Application Error"
Can you help me? Thanks a lot!!

Collapse
 
ebereplenty profile image
NJOKU SAMSON EBERE

Do you have procfile already created at the root directory?

The procfile is meant to direct heroku to the entry point of your application. Without it, Heroku will be confused and throw Application Error

Some comments have been hidden by the post's author - find out more