cordova build android gives me the following err
node_modules/q/q.js:126 throw e; (*error details)
This question has been asked before, but
I banged my head against the wall for hours and hours and ultimately came up with a simple solution. I went into the project directory and issued two commands:
cordova platform remove android
cordova platform add android
Recompiled with "cordova build android" and it worked like a charm.
I think cordova wanted to possibly update some files.
===== Update for Ionic ========
In case you are using ionic framework then these are the commands for your rescue:
ionic platform remove android
ionic platform add android
I have noticed that this normally happens when you break (Ctrl-C) the compilation process.