I am creating an application using an ionic structure. when I execute the Android Ion Collector command, it shows the following message.
C:\Windows\System32\todo>ionic build android
Running command: "C:\Program Files\nodejs\node.exe" C:\Windows\System32\todo\hooks\after_prepare\010_add_platform_class.js C:\Windows\System32\todo
add to body class: platform-android
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk\
JAVA_HOME=C:\Program Files\java\jdk1.8.0_66
Error: spawn cmd ENOENT
I run it on a windows 7 system using node.js command line
I have googled but have not found a useful solution. Helped Plesha. thanks in advance
source
share