-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data does not persist #3
Comments
|
Also, could you please try the latest master to see if solved the issue based on this |
No luck at parse dashboard : / npm run server causes "Starting a MongoDB deployment to test against..." to indefinitely idle it seems. |
*immutable is also not included, but simple npm install immutable solves it |
@DandroidDeveloper : could be related to mongodb-runner's occasional flaky behavior (parse-community/parse-server#272) |
@DandroidDeveloper : can you try running mongodb-runner in debug mode and share the traces DEBUG=* node ./node_modules/mongodb-runner/bin/mongodb-runner start |
mongodb-version-manager:activate added |
Ok. So it looks like mongo does not start for some reason. Do you have another instance running on the machine? I have also updated mongo command to point to a directory inside the project folder as db-path: https://github.com/thebakeryio/todomvc-react-native/blob/master/package.json#L13 |
As a temporary workaround, I've added a way to run local server without mongod-runner (https://github.com/thebakeryio/todomvc-react-native/blob/master/package.json#L15) which assumes that you have an instance of mongod running on your machine and you've updated connection string here: https://github.com/thebakeryio/todomvc-react-native/blob/master/settings/development.json#L5 You can then run npm run server-without-mongo-runner |
gyp ERR! build error *Errors that seem to be fixed on install Running npm run server returns ----> ◜ Starting a MongoDB deployment to test against...Error: Cannot find module 'parse/node' *Same error with npm run-server-without-mongo-runner I do not believe I have another instance running, this was the first thing I did today on my computer lol. Let me know if I can help any further! |
ps -aux | grep mongo returns nothing as well (idk if that is how you find running processes with mongo however) |
Oh wow, that's new. Just added parse as explicit deps in package.json. Could you try rerunning latest master with prior |
No errors on install now, testing... |
ah I lied, same build errors gyp ERR! build error |
firewall??? ◡ Starting a MongoDB deployment to test against...parse-server-example running on port 8000 |
which command did you run to get the output above? |
npm run server |
parse dashboard works now! |
looks like Mongo is still not running. Did .mongo directory get created in the project root? |
no mongo directory : / |
@DandroidDeveloper: could you tell me what version of Linux you are running - I'll try set up a virtual machine to test these things out |
Ubuntu 14.04 LTS Thanks! |
@DandroidDeveloper : i think i got it to run on Linux box. Could you please try the following:
|
Operational! thanks for your help @callmephilip |
So I ran npm install, react-native start, and got the example working on Ubuntu w/ android studio... and I was wondering if you could help me out with a few things. First, the list selectors on Android do not work, you cannot mark something as completed. Second, when I run npm run server, it seems as if mongodb just idles. Third, data did not persist (maybe because mongoDB gets stuck at "starting a MongoDB deployment to test against...", and when I reopen the app all to do's are wiped).
The text was updated successfully, but these errors were encountered: