Meteor: Unexpected mongo exit code 100. Restarting.Can't start mongo server

后端 未结 2 1724
名媛妹妹
名媛妹妹 2020-12-16 03:39

I had to force reboot my mac and now get the following error when trying to start one particular meteor app on localhost.

Unexpected mongo exit code 1

相关标签:
2条回答
  • 2020-12-16 04:10

    If you are on windows and facing the issues given below, then you probably need to install Visual C++ Redistributable for Visual Studio 2015.-

    C:\Users\user\app> meteor
    => Started proxy.
    Unexpected mongo exit code 3221225781. Restarting.
    Unexpected mongo exit code 3221225781. Restarting.
    Unexpected mongo exit code 3221225781. Restarting.
    Can't start Mongo server.
    

    Download it here and install.

    After installing vc_redist.x64 you should be able to run Meteor and MongoDB server without problems.

    0 讨论(0)
  • 2020-12-16 04:15

    These are the steps that solved my instance of this problem.

    1. Delete .meteor/local/db/mongod.lock
    2. Delete .meteor/local/db/journal/j.*(note: I only moved it just in case! ;D)
    3. sudo meteor

    sudo might not be necessary but it was the only way back into the app for me. Hope that saves someone a bit of time getting back up and running.

    0 讨论(0)
提交回复
热议问题