Posts

Showing posts from July, 2020

Angular Issue:- ng.ps1 cannot be loaded because running scripts is disabled on this system

Image
Here Create a component get following Error. Why this Error Occured ? we set Permission in the Powershell  PS H:\Working Folder\ngApps\MyTest1Project> ng g c test ng : File C:\Users\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. At line:1 char:1 Solution : Open PowerShell Administrator Mode set-ExecutionPolicy Unrestricted  execute this Query and It ask to You Type Yes then it will Works