Open
Description
Describe the bug
When running npm start
in the /server
folder, I get the following error:
2024-11-27T16:06:12.866Z: error: Error connecting to QRev Analytics db cluster: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
Stack: MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
To Reproduce
Steps to reproduce the behavior:
- Follow set up steps
- Make sure a database is created and the connection string is correct
- Enter the connection string in the env file under
MONGODB_URL
- run
npm ci
followed bynpm start
, the error comes up