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 ran into this same problem while running 'phonegap serve', but the solution was very different. I noticed that operation would work when I restarted my computer. In case anyone else runs into this problem. Here is the solution on Ubuntu 15
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
which was taken from the stackoverflow thread Grunt watch error - Waiting...Fatal error: watch ENOSPC
In addition to the posters error, I had the error
at exports._errnoException (util.js:856:11)
at FSWatcher.start (fs.js:1313:19)
at Object.fs.watch (fs.js:1341:11)
further down.