I am learning nodejs and came across nodemon. I installed nodemon using this command
npm install -g nodemon
and it installed successfully but when i try to run nodemon using command nodemon
then it through this error in command prompt.
nodemon : File C:\Users\callm\AppData\Roaming\npm\nodemon.ps1 cannot be loaded because running scripts is disabled on this system. For more
information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ nodemon index.js
+ ~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess