If you get “ng.ps1 cannot be loaded because running scripts is disabled on this system”, you execute the following command:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
Now you can run “ng serve -o”.
If you get “ng.ps1 cannot be loaded because running scripts is disabled on this system”, you execute the following command:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
Now you can run “ng serve -o”.