An error occurred while running subprocess cordova. cordova.cmd platform add android exited with exit code 1.

[ERROR] An error occurred while running subprocess cordova.

    cordova.cmd platform add android exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.
            ^

Error: Command failed: wmic os get Caption
‘wmic’ is not recognized as an internal or external command,
operable program or batch file.

at makeError (C:\Users\maliki.konneh\AppData\Roaming\npm\node_modules\←[4mcordova←[24m\node_modules\←[4mexeca←[24m\index.js:174:9)
at Function.module.exports.sync (C:\Users\maliki.konneh\AppData\Roaming\npm\node_modules\←[4mcordova←[24m\node_modules\←[4mexeca←[24m\index.js:338:15)
at windowsRelease (C:\Users\maliki.konneh\AppData\Roaming\npm\node_modules\←[4mcordova←[24m\node_modules\←[4mwindows-release←[24m\index.js:34:24)
at osName (C:\Users\maliki.konneh\AppData\Roaming\npm\node_modules\←[4mcordova←[24m\node_modules\←[4mos-name←[24m\index.js:39:18)
at new Insight (C:\Users\maliki.konneh\AppData\Roaming\npm\node_modules\←[4mcordova←[24m\node_modules\←[4minsight←[24m\lib\index.js:37:13)
at Object.<anonymous> (C:\Users\maliki.konneh\AppData\Roaming\npm\node_modules\←[4mcordova←[24m\src\telemetry.js:26:15)

←[90m at Module._compile (internal/modules/cjs/loader.js:1158:30)←[39m
←[90m at Object.Module._extensions…js (internal/modules/cjs/loader.js:1178:10)←[39m
←[90m at Module.load (internal/modules/cjs/loader.js:1002:32)←[39m
←[90m at Function.Module._load (internal/modules/cjs/loader.js:901:14)←[39m {
code: ←[33m1←[39m,
stdout: ←[32m’'←[39m,
stderr: ←[32m"‘wmic’ is not recognized as an internal or external command,\r\n"←[39m +
←[32m’operable program or batch file.\r\n’←[39m,
failed: ←[33mtrue←[39m,
signal: ←[1mnull←[22m,
cmd: ←[32m’wmic os get Caption’←[39m,
timedOut: ←[33mfalse←[39m
}
[ERROR] An error occurred while running subprocess cordova.

This is similar error i am having