I think your cordova npm package has been missed by some modules. Try reinstalling it:
npm uninstall cordova -g && npm install -g cordova
I am using version 5.0 and it works fine, if the above does not work, try the following:
npm uninstall cordova -g && npm install -g cordova@5.0
source
share