ionic无法识别为内部或外部命令可操作程序或批处理文件 [英] ionic is not recognized as an internal or external command operable program or batch file

查看:375
本文介绍了ionic无法识别为内部或外部命令可操作程序或批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试安装ionic框架.第一步是执行命令(安装了node.js).

I have tried to install ionic framework. I was done with my first step by executing the command (installed node.js).

第一个命令:npm install -g cordova ionic

First command: npm install -g cordova ionic

但是第二条命令没有执行,而是声明离子不被识别为内部或外部命令可操作程序或批处理文件"

But the second command is not executing instead stating"ionic is not recognized as an internal or external command operable program or batch file "

第二个命令:离子启动myApp选项卡

Second command:ionic start myApp tabs

我请求帮助我

推荐答案

我假设您正在尝试在Windows中安装ionic. 我认为您可以尝试不使用cordova单独安装它,然后再试一次.

I assume you are trying to install ionic in windows. I think you could try to install it alone, without cordova, and then try it again.

npm install -g ionic

致谢

这篇关于ionic无法识别为内部或外部命令可操作程序或批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆