Error: Command failed with exit code ENOENT


#1

ANDROID_HOME=C:\Users\Yogesh\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_171
studio
(node:19048) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code ENOENT
at ChildProcess.whenDone (C:\Users\Yogesh\Swipeable-cards\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitOne (events.js:116:13)
at ChildProcess.emit (events.js:211:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:196:12)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:19048) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:19048) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.