| While running on Angular with node js i was getting error while running command ng g c componentname?
Usally we are getting some permission error while running below command in angualr project when we are adding new component in angular project by below command
>ng g c componentname
in above command we will get some acces realted issue with powershell script as accessright issue to overcome this issue we will use below command on powershell command prompt by running as administrator.
Error:-running scripts is disabled on this system. For more information, see about_Execution_Policies at ng generate component
command to get rid of above error is given below
>Set-ExecutionPolicy -ExecutionPolicy Unrestricted | | |