Search This Blog

Sunday, April 12, 2020

ng : File D:\Users\userName\AppData\Roaming\npm\ng.ps1 cannot be loaded because running scripts is disabled on this

Whenever this error comes do the following setting -


  • Open PowerShell as Adminstrator.
  • Run: Set-ExecutionPolicy -ExecutionPolicy Unrestricted

1 comment:

  1. Such a helpful piece! Philadelphia businesses, especially small and medium-sized ones, can really benefit from reliable Managed IT Support. Thanks for putting this together.Managed IT Support Philadelphia

    ReplyDelete