-
Notifications
You must be signed in to change notification settings - Fork 160
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
TypeError: db.runCommand is not a function #429
Comments
is this project still supporte? because no response for 3 weeks... |
Try to install the latest mongodb version in your project. The issue is not caused by migrate-mongo, so I'm closing this. |
If i am running this command via mongodb shell all works good. It is failing only once run via migrate mongo. |
migrate-mongo is just a wrapper project around the mongodb node.js dependency. I suggest to see which version of |
@vytautas-pranskunas- In case this is still relevant. I was receiving the same error but was able to solve it by calling This SO-Thread was pointing me in the right direction: https://stackoverflow.com/questions/49765120/node-mongo-db-runcommand-is-not-a-function |
I get this error when trying to run this script:
The text was updated successfully, but these errors were encountered: