Reputation: 1
I try to run the command ng
in a PowerShell, but systems require that the script must be signed.
I try to change my policy of execution.
This is my current configuration Get-ExecutionPolicy -List:
Scope ExecutionPolicy
----- ---------------
MachinePolicy AllSigned
UserPolicy Undefined
Process Undefined
CurrentUser RemoteSigned
LocalMachine Unrestricted
Then, I run the next command Set-ExecutionPolicy -Scope CurrentUser Unrestricted
The change on the policy it's OK, but appear an error telling another policy defined in a most especific ambit deny the value.
And the command ng
still not running with the error, \AppData\Roaming\npm\ng.ps1
it's not signed digitally.
Can you help me? Ty everyone
Upvotes: 0
Views: 81