August 12, 2022

I am currently trying to set up for myself a personal dub registry, and I have MongoDB installed. Yet, when I run dub run in the repo directory, I get the following error message:

vibe.db.mongo.connection.MongoAuthException@C:\Users\User\AppData\Local\dub\packages\vibe-d-0.9.4\vibe-d\mongodb\vibe\db\mongo\connection.d(641): Authentication failed.

How can I configure MongoDB to stop this error from occurring?