I started learning Node recently, I successfully ran my first node app, though without nodemon. I installed nodemon globally using npm install -g nodemon
, and it successfully installed..
If I then run nodemon index
i see the following errors
[nodemon] 1.12.1
[nodemon] to restart at any time, enter
rs
[nodemon] watching: *.*
[nodemon] starting ``node index index.js
events.js:182
throw er; // Unhandled 'error' event
^
`Error: spawn cmd ENOENT
at _errnoException (util.js:1019:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19)
at onErrorNT (internal/child_process.js:374:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
` Please your suggestion will be appreciated
Check if your PATH variables include: C:\Windows\System32\
. If not, add it.