Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cordova compile error

I have a cordova project and has two platforms, android and ios. I build the ios project in the root folder by issuing the following command.

cordova build ios

But i get the following error.

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)

Does anyone know what might be the reason behind this? I am new to cordova and any help in the right direction is much appreciated.

like image 767
Lrenger semigo Avatar asked Dec 26 '13 06:12

Lrenger semigo


1 Answers

Try running cordova platform update ios - this seems to be a known bug. https://github.com/phonegap/phonegap-cli/issues/220

like image 148
richgilbank Avatar answered Nov 06 '22 11:11

richgilbank