I have installed globally the nodemon module (version 1.11.0).
The installation was successful and the package exists in the global modules list, but the nodemon command returns the following error in Powershell:
nodemon : The term 'nodemon' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ nodemon
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (nodemon:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
This happens when I try to run commands from other globally installed modules, so It seems there is a path error.
The user variable with name PATH has the value:
C:\Program Files\nodejs;C:\Users\Cal\AppData\Roaming\npm\node_modules;C:\Program Files\MongoDB\Server\3.4\bin
Is my diagnosis correct, and if so, where am I going wrong?