Windows

Troubleshooting Meteor on Windows

Can't start Mongo server

If your embed MongoDB is not starting when you run meteor and you see messages like these:

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.

You probably need to install Visual C++ Redistributable for Visual Studio, depending on your Windows and Meteor embedded version of MongoDB the version of Visual Studio could be different. You can check the version that we are using in our Windows test environment here

Starting from MongoDB 4.4.4 we started to use Visual Studio 2019.

Until MongoDB 4.2 this was the usually the right version to be installed.

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

Edit on GitHub
// search box