0

I have used nodemon util to help my work in nodejs development. On my PC (Windows) I had to change my profile and after in the new profile I can not use nodemon anymore... I have installed it again like these ways:

npm install --save-dev nodemon

npm install --save-dev nodemon -g

I deleted it from node_modules and reinstall again but the same error:

'nodemon' is not recognized as an internal or external command, operable program or batch file.

Any idea?

erikvimz
  • 5,256
  • 6
  • 44
  • 60
HowToTellAChild
  • 623
  • 1
  • 9
  • 21

2 Answers2

1

Time by time i tried to find out, whr is my problem, and I got it: I had bad value inthe path variable:

Wrong: C:\..\AppData\Roaming\npm\node_modules

GOOD: C:\..\AppData\Roaming\npm\

HowToTellAChild
  • 623
  • 1
  • 9
  • 21
0
npm i nodemon -g 

will install module globally so your windows could recognize the command

Phani Kumar
  • 171
  • 7
  • Tanks your tip, but unfortanutelly not working for me... *'nodemon' is not recognized as an internal or external command, operable program or batch file.* again.. – HowToTellAChild Dec 18 '17 at 14:19