Running windows 7 Professional 32bit.
I tried running npm install -g angular-cli
both under normal or admin.
I also tried adding it to the Enviorment Variables under PATH: (C:\Users\Administrator\AppData\Roaming\npm\node_modules\angular-cli\bin\ng)
, with no success also.
What am i doing wrong?
I solved this problem in accordance with the figure:
run in cmd
npm install -g @angular/cli
and then
( open in Windows 10) Control Panel\All Control Panel Items\System
or accordance with the figure
step 1:
step 2 :
step3:
step4:
step5: add missing ng path
Here is new environment variable that you need add: C:\Users\PK\AppData\Roaming\npm\node_modules\@angular\cli\bin
Finally, restart all opened command prompts and try again.