Reputation: 243
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.
Upvotes: 5
Views: 1759
Reputation: 394
Try running cordova platform update ios
- this seems to be a known bug.
https://github.com/phonegap/phonegap-cli/issues/220
Upvotes: 10