Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is an error deploying to HEROKU #197

Open
NicholeRamirez opened this issue Apr 19, 2022 · 5 comments
Open

There is an error deploying to HEROKU #197

NicholeRamirez opened this issue Apr 19, 2022 · 5 comments

Comments

@NicholeRamirez
Copy link

What version of Node.js are you using?

14.17.3

What version of Yarn are you using?

1.22.18

What browser are you using?

Chrome and Firefox

What operating system are you using?

Windows and Linux

Describe the Bug

Al desplegar la api en heroku sale el siguiente error:

2022-04-19T01:35:21.586420+00:00 heroku[web.1]: Process exited with status 1
2022-04-19T01:35:21.694363+00:00 heroku[web.1]: **State changed from starting to crashed**
2022-04-19T01:35:21.699082+00:00 heroku[web.1]: State changed from crashed to starting
2022-04-19T01:35:25.732119+00:00 heroku[web.1]: Starting process with command `npm start`

image
image

Expected Behavior

I hope to have the API ready to be consumed.

Steps to reproduce

  1. I deployed the API from HEROKU CLI (I also tried from github)
  2. I added all the environment variables, as it is in the documentation.
  3. I check heroku console and get that error.
@DimiMikadze
Copy link
Owner

Hi @NicholeRamirez, try running heroku logs --tail as Heroku recommends, to find out what's the problem.

@basisd3v
Copy link

I'm having the same issue. heroku logs --tail only shows error H10, which Heroku describes as "App Crashed" without any further troubleshooting guidance. Api is fine locally, issues come when deploying.

@basisd3v
Copy link

@NicholeRamirez be sure to have the appropriate env variables set in your heroku config and have your mongodb cluster set to allow connection from heroku.

@sebaestel
Copy link

I have this issue with heroku
Captura de Pantalla 2022-05-18 a la(s) 08 35 11

What can I don to fixit?

@NicholeRamirez
Copy link
Author

@NicholeRamirez be sure to have the appropriate env variables set in your heroku config and have your mongodb cluster set to allow connection from heroku.

@basisd3v Did you manage to solve the problem? :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants