[Windows] Incorrect `mongod` binary path
See original GitHub issueFreshly installed on a new machine Windows10 x64
Autostarting MongoDB instance...
Mongo[50146] Starting MongoDB instance with following options: {"port":50146,"dbName":"f63e96d0-2244-497d-a043-f608688a503d","uri":"mongodb://localhost:50146/f63e96d0-2244-497d-a043-f608688a503d","storageEngine":"ephemeralForTest","dbPath":"C:\\Users\\Username\\AppData\\Local\\Temp\\mongo-mem-6080BA3QCuF1h8UT"} +0ms
Downloading MongoDB: https://downloads.mongodb.org/win32/mongodb-win32-x86_64-3.4.4.zip
Mongo[50146] renamed C:\Users\Username\.mongodb-binaries\mongodb-win32-x86_64-3.4.4.zip.downloading to C:\Users\Username\.mongodb-binaries\mongodb-win32-x86_64-3.4.4.zip +10s
Mongo[50146] getDownloadMD5Hash content: 024a46524c856429d0fd9de0c7d04c5f mongodb-win32-x86_64-3.4.4.zip
Mongo[50146] +557ms
Mongo[50146] getDownloadMD5Hash extracted signature: 024a46524c856429d0fd9de0c7d04c5f +1ms
Mongo[50146] extract(): C:\Users\Username\.mongodb-binaries\3.4.4 +581ms
(node:6080) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: MongoBinaryDownload: missing mongod binary in C:\Users\Username\.mongodb-binaries\mongodb-win32-x86_64-3.4.4.zip
(node:6080) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: MongoBinaryDownload: missing mongod binary in C:\Users\Username\.mongodb-binaries\mongodb-win32-x86_64-3.4.4.zip
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Installation process saves binary in wrong location · Issue #168
In version 5.0.1, when the package is installed the binary is not downloaded to the default location (.
Read more >mongod and mongo commands not working on windows 10
01) Get path to bin, something like: C:\Program Files\MongoDB\Server\4.0\bin · 02) Press the Windows key, type env , select Edit the system ......
Read more >Issue when installing locally on Windows 10 - MongoDB
The domain, user name and/or password are incorrect. Remember to use “.” for the domain if the account is on the local machine....
Read more >Troubleshooting — MongoDB Manual
If your output includes a mix of mongodb-org and mongodb binaries, ... Generally, these errors indicate that the MongoDB data directory either doesn't...
Read more >Windows10 Community version problem - MongoDB
I am having a problem of running MongoDM on my Windows 10 64bit machine. ... sure your PATH contains C:\Program Files\MongoDB\Server\4.4\bin.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
would be my first. I should try tho 😃
For what is worth set the
binary.systemBinary
option (as listed at here) to point to the correct path on the filesystem (where npm postinstall actually downloads the binary). For me thissystemBinary
is “X:\Project\Root\node_modules\mongodb-memory-server\node_modules\.cache\mongodb-memory-server\mongodb-binaries\x.y.z\mongod.exe” (note the double slash on Windows). Hope this helps, because even version 3.0.0 of this package wasn’t working for me.