Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

828
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda