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!

2

1 Answer 1

1
spawn cmd ENOENT

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.