Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

240
Views
git push heroku master Remote failed

This is my error image getting on heroku logs --tail

above is a given image of my errors. When I am trying to deploy my nodejs app Getting error on git push Heroku master . . . . Remote failed working properly on local server. I am beginner please help my git id is cosmos-dx and there is a git repo of name Webdictionary

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

After reading through the nodemon docs, and taking the fact that you stated you are new, I think I know what is happening.

In the nodemon docs it gives you two ways to install, one is globally npm install -g nodemon and the other is to install it in the dev dependencies npm install --save-dev nodemon. Either of these options would make nodemon not be present if the build to heroku uses npm install --only=production. I assume they do that.

In your package.json file, change the npm start script to this:

"start": "node ser1.js"

As nodemon is not present in the heroku built application, your current start script will fail. If you want to continue using nodemon for local development you can add a new script:

"dev": "nodemon ser1.js"

From there to run your application, with nodemon, on your local machine you would run npm run dev

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!