$ npm install -g nodemon gives npm ERR! code ENOENT

Viewed 20

I have been installing packages and everything worked perfect. For some reason when I try to install nodemon the following error is displayed.

Error Message Screenshot

$ npm install -g nodemon

npm ERR! code ENOENT

npm ERR! syscall spawn C:\MinGW\bin\windres.exe

npm ERR! path C:\Users\zaidd\AppData\Roaming\npm\node_modules\nodemon

npm ERR! errno -4058

npm ERR! enoent spawn C:\MinGW\bin\windres.exe ENOENT

npm ERR! enoent This is related to npm not being able to find a file.

npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\zaidd\AppData\Local\npm-cache\_logs\2022-09-12T18_25_22_846Z-debug-0.log
0 Answers
Related