Answers for "serve : file c:\users\admin\appdata\roaming\npm\serve.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."

1

serve : File C:\Users\MY PC\AppData\Roaming\npm\serve.ps1 cannot be loaded because running scripts is disabled on this system

# Run this
set-ExecutionPolicy RemoteSigned -Scope CurrentUser
# and then run this
Get-ExecutionPolicy
# If it returns 'RemoteSigned', then the problem is solved!
Posted by: Guest on March-06-2022
6

File C:\Users\SHUBHAM KUNWAR\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.

=>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
0

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.

type cmd
Posted by: Guest on January-04-2021

Code answers related to "serve : file c:\users\admin\appdata\roaming\npm\serve.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."

Code answers related to "TypeScript"

Browse Popular Code Answers by Language