nodemon not run

technical talkiess
0

 PS C:\xampp\htdocs\prac\nodejs\express> nodemon app.js

nodemon : File C:\Users\dell\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

+ ~~~~~~~

PS C:\xampp\htdocs\prac\nodejs\express> nodemon app.js

this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=13517ed on     0.                                                                                                             0.        

At line:1 char:1

+ nodemon app.js

+ ~~~~~~~

    + CategoryInfo          : SecurityError: (:) [], PSSecurityException

    + FullyQualifiedErrorId : UnauthorizedAccess




Run the following command in the power shell:-


Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)