i need your help in the resolution of this issue please. The message is showing when typing the command $ionic ..., the O.S is Win 7
$ionic ...
=========================================================================
**events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:1000:11)
at Process.ChildProcess._handle.onexit (child_process.js:791:34)**
I had the same issue due to sass setup in the project, In my case I had to change below line
"gulpStartupTasks": [
"sass",
"watch"
]
to
"gulpStartupTasks": []
in ionic.project file
I had the exactly same problem with you.(HATE WINDOWS!)
And happily I found the solution about this, please follow the steps below:
Goto line 40, and
replace
var cordovaCmd = spawn('cordovaz', cmdArgs);
to
var cordovaCmd = spawn(process.platform === "win32" ? "cordova.cmd" : "cordova", cmdArgs);
try ionic run android
again!