DEV Community

Discussion on: How to deploy a Webapp to Heroku (Node.js, React.js and MongoDB)

Collapse
 
pacheco profile image
Thiago Pacheco

Hi Dilip,

This error usually happens when there are some conflicts while pushing to heroku, I am not sure if that is because of the environment variable.

Could you tell me what do you get in your logs on Heroku?

You can retrieve the logs going to the root of your project and using the following command:

heroku logs --tail