npm commands in PowerShell:
npm.ps1 script from running. The recommended fix is to set the execution policy to RemoteSigned for the current user scope.
Search for “PowerShell” in the Start menu, right-click “Windows PowerShell”, and select “Run as administrator”.
Execution Policy Change
The execution policy helps protect you from scripts that you do not trust...
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): Y
Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Undefined
CurrentUser RemoteSigned
LocalMachine Undefined