npm -g list command I can see installed Angular globally but when I run the ng --version it is giving
this error ng: The term 'ng' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ ng --version
+ ~~
+ CategoryInfo : ObjectNotFound: (ng:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
我已经从我的电脑中删除了 node 和 npm 并重新安装了它们,但它仍然无法正常工作。