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:
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!
