meteor / solomo

The demo we showed at Meteor Devshop August 2014 of Meteor Mobile integration. This code has moved to the examples folder in meteor/mobile-packages.
30 stars 5 forks source link

emulator is exiting automatically #8

Closed piyushcoader closed 9 years ago

piyushcoader commented 9 years ago

--emulator ios exited with non-zero code: 1 gives the error in the console /Users/piyushthapa/.meteor/packages/meteor-tool/.1.0.26-cordova5.7z6dsl++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands-cordova.js:52 else if (err) throw err; ^ Error: /Users/piyushthapa/.meteor/packages/meteor-tool/.1.0.26-cordova5.7z6dsl++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/scripts/cordova.sh run --emulator ios exited with non-zero code: 1. Use -v for more logs. at ChildProcess. (/Users/piyushthapa/.meteor/packages/meteor-tool/.1.0.26-cordova5.7z6dsl++os.osx.x86_64+weItb.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands-cordova.js:47:13) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:755:16) at Socket. (child_process.js:968:11) at Socket.emit (events.js:95:17) at Pipe.close (net.js:465:12) its just a starting app in the meteor...

stubailo commented 9 years ago

Hi @piyushcoader, does this happen to you when running a newly created Meteor app on ios, or just with this repository?

piyushcoader commented 9 years ago

It happens when i created new app...using your CORDOVA-RELEASE@5

On Sat, Sep 6, 2014 at 2:39 AM, Sashko Stubailo notifications@github.com wrote:

Hi @piyushcoader https://github.com/piyushcoader, does this happen to you when running a newly created Meteor app on ios, or just with this repository?

— Reply to this email directly or view it on GitHub https://github.com/meteor/meteor-mobile-demo/issues/8#issuecomment-54680156 .

piyushcoader commented 9 years ago

It happens when i created new app...using your CORDOVA-RELEASE@5

Slava commented 9 years ago

Hi there. The latest release with Cordova support is 0.9.2-rc1. Please try to run an app with that release, if it still persists, open a new issue on the Meteor repository (not here) and give us more information on how to reproduce and what is your OS version and Xcode version.

tigransloyan commented 9 years ago

@Slava after running for a few seconds I get the same error running on meteor 0.9.3


=> App running at: http://localhost:3000/

/private/var/root/.meteor/packages/meteor-tool/.1.0.33.1vgkjpj++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands-cordova.js:79
    else if (err) throw err;
                        ^
Error: /private/var/root/.meteor/packages/meteor-tool/.1.0.33.1vgkjpj++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh run --emulator ios exited with non-zero code: 1. Use -v for more logs.
    at ChildProcess.<anonymous> (/private/var/root/.meteor/packages/meteor-tool/.1.0.33.1vgkjpj++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands-cordova.js:74:13)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:755:16)
    at Socket.<anonymous> (child_process.js:968:11)
    at Socket.emit (events.js:95:17)
    at Pipe.close (net.js:465:12)
tigransloyan commented 9 years ago

@Slava this is not on the demo,it's testing on our app, if you want I can open a separate issue on meteor.

Slava commented 9 years ago

@tigransloyan iOS projects don't compile in /tmp folder on OS X. This is documented and a special warning is being printed on a newer versions of Meteor.

tigransloyan commented 9 years ago

@Slava I haven't specified a compile folder so i guess it picks /tmp by default? What's a workaround?

michaelpr commented 9 years ago

I am working with the same issue, @tigransloyan have you found the workaround?

tigransloyan commented 9 years ago

@michaelpr nope, just gave up on it and decided to try when more stable version come out :)