mcfly-io / generator-mcfly

A Yeoman generator for scaffolding an application using angular, browserify, ionic and famous

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp cordova:run ENOENT

johann-taberlet opened this issue · comments

I tried to run a fresh new app scaffolded by this command:

yo mcfly --mobile

Then I tried to run it on my android phone connected by USB by running:

gulp cordova:run --platform android

And I get this output:

[20:10:01] Using gulpfile C:\Workspaces\Ionic\codovaIonicApp\gulpfile.js
[20:10:01] Starting 'cordova:run'...
[20:10:01] Running task 'cordova:run' with targets app in mode dev
[20:10:01] Starting 'cordova:run:5bq5R'...
[20:10:01] ionic run android
[20:10:01] Finished 'cordova:run:5bq5R' after 2.81 ms
[20:10:01] Finished 'cordova:run' after 19 ms
[20:10:01] An error occured executing a command line action
[20:10:01] Error: spawn C:\Windows\system32\cmd.exe ENOENT

Found nothing on Google so, any ideas?

Thanks!

I found what was wrong.
Another gulp process was running through phpstorm. When I killed it, everything works perfectly.

Glad to hear you resolved the issue!