I'm trying to install nodemon
globally, using:
npm install nodemon --global
It seems to install normally, with two warnings for an optional module:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0
But when I try to execute it:
nodemon servidor.js
It gives error:
'nodemon' is not recognized as an internal or external command,
operable program or batch file.
What's wrong?
P.S. on another computer worked without problems. I'm on a Windows 10.