ng Command not supported in terminal.

Problem :

ng : File C:\Users\Saidul\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 -

Step 1 : Open terminal and execute below command

            set-ExecutionPolicy RemoteSigned -Scope CurrentUser


Step 2 : Execute below line. 

         Get-ExecutionPolicy


Step 3 : Execute below line.

           Get-ExecutionPolicy -list





Test : Finally Test 

        ng version


Post a Comment

0 Comments