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

819
Views
can not run js file with nodemon

I install nodemon from npm in project but cant run js file with 'nodemon run start' and facing this error: nodemon : 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
2 answers
Answer question

0

You need to install nodemon globally using the -g option.

npm install -g nodemon

This will add nodemon to your PATH environment variable so that your terminal knows where the executable file for nodemon is.

Otherwise your terminal doesn't know which executable you're trying to run.

Your second option is to run it through npx.

Use the following:

npx nodemon {filename}

npm will handle locating and running the executable for you. The npx command is installed on your computer by default when you install npm.

about 4 years ago · Juan Pablo Isaza Report

0

You will need to install nodemon if you haven't already

for dev environment run $ npm install --save-dev

to install nodemon globally run

npm install -g nodemon

to run your app/server use

nodemon app 

If the name of your entry file is not app use its name in the command

nodemon {filename}
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!