File C:\Users\admin\AppData\Roaming\npm\ng.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.

 

Solution:


1. Open the PowerShell with administrative rights
2. set-ExecutionPolicy RemoteSigned -Scope CurrentUser
3. Get-ExecutionPolicy 
4. Get-ExecutionPolicy -list

Check for the currentuser (Remotely signed permission)

Now you can execute the commonds fromt he terminal.

Comments