-
Notifications
You must be signed in to change notification settings - Fork 2.8k
MongoError: Invalid namespace specified '<database>.system.indexes' #241
Comments
I also have that error |
Can you folks verify the db name in the connection string is valid one? |
setting <database> to something like test1 solved my issue |
this can be closed, as the same issue can be fixed by replacing the entire
|
@AudMasiulionis is that OK to close this one? |
It would be nice to fix it so it works out of the box but that did fix it for me as @HoseinGhanbari said: 2020-06-04 running on windows with MongoDB installed to run as service, I needed to set the name to: dbname#MONGODB_URI_LOCAL=mongodb://localhost:27017/ |
in TypeScript-Node-Starter.env.example |
I hit this running an older mongodb driver against a newer mongodb server. Using a new driver fixed the problem. MongoError: Invalid namespace specified 'mydatabase.system.indexes' |
Getting this error:
UnhandledPromiseRejectionWarning: MongoError: Invalid namespace specified '.system.indexes'
After npm start.
OS: windows 10
MongoDB server version: 4.2.0
The text was updated successfully, but these errors were encountered: