
Set ExecutionPolicy error angular | ng ps1 - QUICK FIX
Set ExecutionPolicy error angular | ng ps1 - QUICK FIX
How to fix Set-ExecutionPolicy error in VS CODE
code and tutorial can be found here
https://techbriel.com/ng-ps1-cannot-b…
Content
1.2 -> hi, everyone, you might be new to angular
you're trying to run angular command in
10.64 -> visual studio code and then you get this
error "ng.ps1 cannot be loaded because
14.514 -> running scripts is disabled on this system"
but what do I do how do I actually fix this?
26 -> According to angular documentation
"https://angular.io/guide/setup-local"
30.96 -> power script is disabled by default so
based on the documentation that is here
40.56 -> in your terminal in your visual
studio code just copy this
46.16 -> command "Set-ExecutionPolicy -Scope CurrentUser
-ExecutionPolicy RemoteSigned" and then run it
54.56 -> okay let's see if I can execute my initial
command, voila now I can thank you for watching
64.72 -> please consider subscribing to the channel if
you're new to our channel leave us a comment,
68.72 -> hit the like button, and smash the
bell icon. see you on the next one
Source: https://www.youtube.com/watch?v=MbxDahnb7lw