I really tried to avoid having to ask this question but I've been stuck on this for a good two days. The problem is that when I try to run the command "ionic build android
" I get nothing. No error response, no warning, nothing.
I installed node.js and made my npm global so I can access it anywhere. I installed ionic and cordova via npm install and I was able to start the application and see it on the web but when I try to run it on my device, I don't get any response at all.
What am I missing? I have all the android sdks as I normally write my android applications natively. I installed Ant view homebrew. I'm quite lost.
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):
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 callinghelped. After these two updates the
ionic build ...
andcordova build ...
commands worked again.So downgrading node to version 4 is apparently no longer necessary to resolve this.