NG ADD FAILED
ng commands on visual studio code gives bellow error:
When visual studio code powershell does not recognize ng commands, it needs to be configured or change from powershell to cmd.
Change from powershell to cmd
Inside vs code terminal, at the top right hand coner, tab on powershell for a dropdown and select cmd.exe
Open new terminal and cmd will be the deafukt shell in vs code.
Rung ng command again and it will work perfectly.