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

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

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

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

0

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

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