Setting the path to the node executatbles.
I came across with an issue with executing the nodemon command, which was working fine. I guess I had messed with the PATH environment variable, accidentally.
I tried reinstalling the “nodemon” again with the following command:
npm install -g nodemon
Didn’t have luck!
Tried updating using:
npm update -g nodemon
Tried uninstalling and installing again. No result.
Then it suddenly struck that probably its not found in the PATH. So to add the path to npm modules directory, I had to find the path.
The following command helped me to do so.
npm config get prefix
Which printed the path to the npm modules – “C:\Users\Vinod\AppData\Roaming\npm” and I added it to my computer’s PATH environment variable. And everything is fine from there.
Get started from the scratch to build a first Angular 4 application
Quickly set up a web server using node.js and express
For some people, getting the first program in any technology right is the only thing needed to kick start their journey in that technology. Here is how you do it in Spring.
The problem I faced and how I got rid of it