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

MongoDB 4.4.2 fails to start #54

Closed
Xaseron opened this issue Nov 26, 2020 · 1 comment · Fixed by #56
Closed

MongoDB 4.4.2 fails to start #54

Xaseron opened this issue Nov 26, 2020 · 1 comment · Fixed by #56

Comments

@Xaseron
Copy link
Contributor

Xaseron commented Nov 26, 2020

mcwr@arch ~ % npm list -g --depth=0
/home/mcwr/.npm-packages/lib
└── run-rs@0.7.2
mcwr@arch ~ % .npm-packages/bin/run-rs -v 4.4.2
Purging database...
Running '/home/mcwr/.npm-packages/lib/node_modules/run-rs/4.4.2/mongod' [ 27017, 27018, 27019 ]
Starting replica set...
(node:3960) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3960) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
(node:3960) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
(node:3960) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
/home/mcwr/.npm-packages/lib/node_modules/run-rs/node_modules/mongodb-topology-manager/lib/replset.js:124
            .toString()
             ^

TypeError: Cannot read property 'toString' of null
    at ChildProcess.<anonymous> (/home/mcwr/.npm-packages/lib/node_modules/run-rs/node_modules/mongodb-topology-manager/lib/replset.js:124:14)
    at ChildProcess.emit (node:events:376:20)
    at maybeClose (node:internal/child_process:1055:16)
    at Socket.<anonymous> (node:internal/child_process:441:11)
    at Socket.emit (node:events:376:20)
    at Pipe.<anonymous> (node:net:661:12)
@Xaseron
Copy link
Contributor Author

Xaseron commented Nov 26, 2020

Despite the error message is heavily misleading, it looks like the windows path is wrong.
actual path: https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.2.zip
used one:

filename = `mongodb-win32-x86_64-2012plus-${version}.zip`;

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

Successfully merging a pull request may close this issue.

1 participant