nodemon: The term 'nodemon' is not recognized as the name of a cmdlet

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so I have this simple node.js application and now I want to install nodemon such that the server will be restarted automatically whenever I change the code now I can just go ahead and install node mon as a normal package like so and indeed when I open my package.json file I can see it here under the dependencies the thing is that if I now try to start my application using node mod I get this Arrow the term node mon is not recognized so to solve it we simply need to install Norman globally so it's going to be just like before but I'm going to add the dash G flag and let's run this installation and once we installed node mod globally we need to close Visual Studio code then re-open it and if I now try to run my application using nodemon we can see that this time nodemon was found but it cannot be loaded because running scripts is disabled on this system to fix that we need to set the execution policy as unrestricted to make this change we need to open the windows terminal as administrator foreign and let's type in the command and I leave this command in the video description below so you can simply copy and paste it and when we run this command we get back no error message which means that it should have worked so let's get back to visual studio code and let's try running our application using nodemon one more time and this time it worked
Info
Channel: Abstract programmer
Views: 11,825
Rating: undefined out of 5
Keywords:
Id: rsecns84HZw
Channel Id: undefined
Length: 1min 57sec (117 seconds)
Published: Fri Jun 02 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.