-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
MongooseError: The uriparameter toopenUri()must be a string, got "undefined". Make sure the first parameter tomongoose.connect()ormongoose.createConnection() is a string.
At line 15: await mongoose.connect(process.env.MONGO_URI);
I got this error while starting the server. How do I setup and connect to the mongose database please?
Metadata
Metadata
Assignees
Labels
No labels