Application installed by NPM (eg File C:\Users\name\AppData\Roaming\npm\ng.ps1) cannot be loaded because running scripts is disabled on this system

Viewed 32790

When running commands installed by npm (i.e. yarn, ng, etc.), I receive the following error:

File C:\Users\<username>\AppData\Roaming\npm\<application> cannot be loaded because running scripts is disabled on this system.

where <application> is one of the commands installed by npm (i.e. yarn, ng, etc.)

How can this issue be resolved?

1 Answers
Related