Answers for "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 app.js"

34

because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Posted by: Guest on July-26-2020
6

File C:UsersSHUBHAM KUNWARAppDataRoamingnpmnodemon.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.

=>run powershell as administrator
=>run foll command
get-ExecutionPolicy
=>if restricted; run following command
set-ExecutionPolicy Unrestricted
=>and set to all
=>again check by foll. command
get-ExecutionPolicy
**it will get unrestricted and problem is solved**
Posted by: Guest on September-18-2020

Code answers related to "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 app.js"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language