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

285
Views
After I installed nodemon by "npm i nodemon" , when I tried to run it by "nodemon server.js" , it gives me this error. What should I do?

Screenshot form VS code terminalnodemon : The term 'nodemon' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

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

0

I just meet that question.

First, you should make sure that you had installed nodemon in a global way (npm install -g nodemon), and make sure global package dir is in the environment variables.

Secondly, you should RESTART VScode if you are opening it now. I spent lots of time to make sure the previous one, but it still fails, then when I restart VScode, everything is fine!

about 4 years ago · Juan Pablo Isaza Report

0

Try to install nodemon globally: https://github.com/remy/nodemon

npm install -g nodemon 

and edit Your package.json for example like that:

"scripts": {
    "start": "node server",
    "dev": "nodemon server"
  },

then in terminal enter the command =>

npm run dev 

It should works for You now ;-) Good Luck and Best regards !

about 4 years ago · Juan Pablo Isaza Report

0

I just had to use npx instead of npm for e.g. - npx nodemon <server.js>

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!