在执行ng服务时遇到问题 [英] Geting issue on execute the ng serve
本文介绍了在执行ng服务时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
ng:术语ng未被识别为cmdlet,函数,脚本文件或可操作程序的名称。检查名称的拼写,
或者是否包含路径,验证路径是否正确并再试一次。
我尝试了什么:
i试图
npm uninstall -g angular-cli
npm cache clean
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.
What I have tried:
i tried to
npm uninstall -g angular-cli
npm cache clean
推荐答案
我认为你没有添加路径
添加环境变量的路径按照这个链接会帮到你
angular - 'ng'不被识别为内部或外部命令, - Stack Overflow [ ^ ]
i think you are not added the path
add the path to environmental variables follow this link will help you
angular - 'ng' is not recognized as an internal or external command, - Stack Overflow[^]
这篇关于在执行ng服务时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文