Possible solutions.
1. Access rights
The problem may be with your file permissions. Follow in git bash or from a window the way to grant full permission to the project folder.
$ chmod -R 777 [folder]
2. Environment variables
Missing "C: \ Windows \ System32 \" in PATH.
Github issue
3. Reinstallation
Remove nodemon completely with npm and try reinstalling.
npm uninstall -g nodemon
4. Update nodejs
If you have an older version of nodejs, try updating it. I prefer to completely remove nodejs and reinstall it again.
Step by step to remove nodejs in windows
Note. Perhaps your question is not rich enough to give the right answer. please add additional information about the question if these 2 solutions do not work.
Warapitiya
source share