离子框架 - “离子"不被识别为内部或外部命令
我从早上开始就尝试安装 ionic 并在其上创建一个示例项目.但是,从那时起就面临着一系列问题.试着一一解决.Atlast 重新启动了我的机器并打开命令提示符来构建示例项目并尝试
I was trying to install ionic and create a sample project on it since morning. But, was facing a series of issues since then. Tried solving them one by one. Atlast restarted my machine and opened command prompt to build the sample project and tried
path of the sample project> ionic build android
但是,我一直面临错误,指出离子"未被识别为内部或外部命令.
But, i kept on facing the error that states 'ionic' is not recognized as an internal or external command.
我尝试清除缓存并在我的机器中重新安装 ionic.尽管如此,我仍然面临同样的问题,即 ionic 未被识别为内部或外部命令.
I tried clearing the cache and reinstalling ionic in my machine. Still, I face the same issue of ionic is not recognized as an internal or external command.
有人可以帮我解决这个问题吗?
Can somebody help me out on this issue?
谢谢马尼坎丹J
不知何故,我的 npm 路径不在 PATH 环境变量中
Somehow , my npm path was not there in PATH environmental Variable
所以在将 C:UsersXXXXXAppDataRoaming
pm
添加到我的 PATH
变量后,我的问题解决了 :-)
So after adding C:UsersXXXXXAppDataRoaming
pm
to my PATH
variable my problem solved :-)