nodemon .\index.js
nodemon : File C:\Users\Bodigam Gaurav\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
Top comments (1)
Write this command in Administrator PowerShell to configure the execution policy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine