Skip to content
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

Mirror dies when server restarts #50

Open
radixhound opened this issue Jul 5, 2016 · 1 comment
Open

Mirror dies when server restarts #50

radixhound opened this issue Jul 5, 2016 · 1 comment

Comments

@radixhound
Copy link

We are just getting going with cucumber testing and our cucumber tests were blowing away the data in our development database when setting up the tests, so we decided to go with the mirror option. Unfortunately that doesn't work. Every time the code changes and the server restarts it dies with a failure something like this (thought it's not necessarily the same every time)

=> Server modified -- restarting...
/Users/username/.meteor/packages/coffeescript/.1.0.17.1q4nwrv++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116
      throw error;
            ^
Error: ENOENT, symlink '/Users/username/.meteor/packages/meteor/.1.1.14.1lulwc4++os+web.browser+web.cordova/npm/node_modules'
Meteor Mirror exited with code 8

One side-effect is that when the mirror dies, the primary server does not terminate so it has to be manually killed and then restarted to get it going again.

Any idea why this would be happening?

my npm start command looks like this FWIW... "start": "WITH_MIRROR=1 .scripts/start.js"

@radixhound
Copy link
Author

On a side note - how do you guys develop without a mirror? If you log in and make a change chimp starts running an @watch test which clears the DB and creates base user accounts which invalidates the login and destroys any active data in dev...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant