【发布时间】:2022-01-12 22:21:45
【问题描述】:
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 并重新安装了它们,但它仍然无法正常工作。
【问题讨论】:
-
我也更新了环境变量
标签: angular npm angular13 npm-cache