Fix: Unable to execute Angular CLI commands in Visual Studio Code terminal

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone welcome in my channel computer programming and today i am going to show you how to do uh how to resolve that type of problem that is uh unable to execute angular cli command into the studio core terminal when you run your angular command in visual studio code terminal that type of error if you got like run ng help commands and you got that type of error like that is the path and cannot be loaded because running script is disabled on the system for more information see about execution policies at http microsoft websites and the full quality uh qualified error id is unauthorized access and the category information is security error and the pc security exception is there so how to resolve that type of error so first of all just open power cell because that is the solution in the power cell because you can see in the right side that is the power cell is open and ps command is there so that problem actually occurred with the power shell so just right click on it and the power shell in the admin mode so just open it powershell in the admin mode and after that you will see the power cell and after that you go and run your command set dash execution policy e x e c u t i o n execution policy space remote assigned remote signed okay that is the name you can see remote signed okay just click on it and set the policies remotely execution policy change the execution policy uh help to protect your from the script that you do not trust changing the execution policy might expose uh you uh you are the security risk disabled about that is that and do you want to change the execution policy yes i want to change all the policies uh yes all the policies so just click on it a and you will notice that the policy will be changed according to the remotely signed policies okay so just close this window and run it command again and just close this window again if okay just first first of all change it ng help and you will uh got if you the same type of error just uh okay no no no it said run your command successfully okay you can see and in the previous you can see okay so thank you guys for watching this video and keep watching all other videos which is related to computer programming thank you very much for watching
Info
Channel: Computer Programming
Views: 62,441
Rating: undefined out of 5
Keywords: ng, npm, angular, package, node js, node js package, error, exception, command prompt, path variable, command prompt ng, fix error, Visual Studio Code Terminal, Visual Studio Code, Privacy Policy Error
Id: kS3sBTa-bKw
Channel Id: undefined
Length: 2min 56sec (176 seconds)
Published: Sun Nov 14 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.