Ionic build android in CLI does nothing

泄露秘密 提交于 2019-12-05 23:18:07

Apparently there was a bug in Node 5.0.0 causing this.

I had the same issue as you, remedy, and was able to resolve it today by updating to the latest version of node (5.2.0 as of today):

sudo npm update -g

For some reason not (yet) known to me, the cordova command was no longer available after this update (returning "/usr/local/bin/cordova: No such file or directory"), but reinstalling cordova by calling

sudo npm install -g cordova

helped. After these two updates the ionic build ... and cordova build ... commands worked again.

So downgrading node to version 4 is apparently no longer necessary to resolve this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!