I had Angular installed globally but kept seeing errors when trying to use ng command but this fixed it.
Simply, add the relevant directory path to your ng.cmd file as a new Environment Variable in Path on Windows
Command I Used was Windows key + R then type %APPDATA%
You can see the Stack Overflow post here: stackoverflow....
I am installing Angular CLI with the following:
npm install -g -f @angular/cli
(check that this is still current when you are trying to do this as it may change!)
Testing with
ng v
Remember - it's never too late!
Cheers,
Steve
Негізгі бет FIX for 'ng is not recognized' Error - Angular CLI Installed But Still Not Working
Пікірлер: 31