question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

There is an error deploying to HEROKU

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
basisd3vcommented, May 10, 2022

@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.

0reactions
NicholeRamirezcommented, May 25, 2022

@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? 😕

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Node.js Deploys - Heroku Dev Center
Your Node.js deploy failed - now what? Start with these simple steps to troubleshoot a build issue. Check the buildpack.
Read more >
3 tricks for solving the `Heroku Application Error` - Medium
Then run the command `Heroku open`, I hope now you have seen your welcome title in the browser, if it again showing error...
Read more >
Heroku: Most Common Errors Explained - Papertrail
Your localhost may not be aware of the LTS choke imposed by Heroku. That's why when you export your project into a Heroku...
Read more >
Heroku app successfully deploying, but receiving application ...
Welcome to Stack Overflow. HTTP 500 ("application error") is a generic server-side error message. On its own it doesn't tell us anything useful....
Read more >
Application error when deploying to Heroku - Apollo Community
I was able to deploy it with no issues, you can find it here: https://thawing-dawn-83137.herokuapp.com/ using your code, with no changes. Have ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found