Ionic android platform installation error


#1

C:\Users\UVINDU\Desktop\CPMAD\CarMart>ionic platform add android
Updated the hooks directory to have execute permissions
Adding android project…
Creating Cordova project for the Android platform:
Path: platforms\android
Package: com.ionicframework.carmart632655
Name: CarMart
Activity: MainActivity
Android target: android-23
Android project created with cordova-android@5.1.1
Installing “cordova-plugin-console” for android
Failed to install ‘cordova-plugin-console’:Error: cmd: Command failed with exit code ENOENT
at ChildProcess.whenDone (C:\Users\UVINDU\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\cordova-common\src\superspawn.js:169:23)
at emitOne (events.js:90:13)
at ChildProcess.emit (events.js:182:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:474:9)
at process._tickCallback (node.js:388:17)Error: cmd: Command failed with exit code ENOENT