-1

It is said that pictures speak louder than words so...

As you can see nodemon works just fine by itself as expected: only nodemon

then when i get express to the project nodemon just keeps restarting due to changes nodemon and express

tried pretty much every solution i can find on the internet(including here on stack) for this problem nothing worked... Can someone please tell me what's the problem and how to fix it?

omerb
  • 39
  • 1
  • 8

1 Answers1

1

I've met the same error in the past and you can try these following ways:

Solution 1: Uninstall your nodemon and install it again by executing

npm uninstall -g nodemon

then

npm install -g nodemon

Solution 2: Your computer maybe lack of environment. Add this

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\wbem;

into %PATH% environment variable which located in

Control Panel\System and Security\System 

then move to

-> Advanced Settings System -> Environment Variables...

and reset your computer.

I hope these solutions work.

Hoang Long
  • 26
  • 2