Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meteor.js 0.6.5 and Cloud 9

For my application I need to run Meteor 0.6.5 (the new release) on Cloud 9. I tried fixing ports and IP addresses, but I didn't get it working.

I followed this pull request: https://github.com/meteor/meteor/pull/1105

And changed these files: https://github.com/meteor/meteor/pull/1105/files

But I always get the following error:

Unexpected mongo exit code 1. starting. Unexpected mongo exit code 1. Restarting. Unexpected mongo exit code 1. Restarting. Can't start mongod

I can't figure out which further changes I have to do. Despite there is no server.js in the new release, that's why I tried to change /webapp/webapp_server.js, but I don't know if this is the right approach.

Hopefully you can give me a hint and the request gets merged soon ;)

like image 646
chaosbohne Avatar asked Apr 30 '26 15:04

chaosbohne


1 Answers

I had a similar problem, so what I did was connect my Cloud9 IDE to my own Digital Ocean Linux box. Not only did it solve the problem, but now my Meteor development is super fast!

I am thinking it is a memory issue with the default Cloud9 servers. Meteor and Mongo together take up quite a bit of memory.

I wrote up a post talking about my exact setup and showing step-by-step how I got it set up and running here: http://simpleprogrammer.com/2014/10/13/getting-started-meteor-tutorial-cloud/

like image 112
John Sonmez Avatar answered May 03 '26 20:05

John Sonmez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!