1

I just made a standard express.JS application and I am trying to use mongoose so I can re-run when something changes in the directories. I did not change anything in the express folder and I installed nodemon correctly, when I am trying to run it I get this error:

enter image description here

I tried to run nodemon, nodemon ./bin/www, npm start,.. If I try to run node ./bin/www, everything works properly.

I hope you guys can help me!

Khaled Awad
  • 1,644
  • 11
  • 24
Sander Van Keer
  • 800
  • 5
  • 11
  • 22

1 Answers1

1
spawn cmd ENOENT

tells that cmd is not able to find nodemon. Please see this answer https://stackoverflow.com/a/17976504

Community
  • 1
  • 1
user1311432
  • 64
  • 1
  • 7