Closed anedfung closed 1 year ago
Hey, I was having the same issue, it was due to mongodb v5 switching from callbacks to promises.
You have to make sure your server's mongodb dependency is the same version as the repo's (or at least below version 5). You could also install 'mongodb-legacy' and replace the references to mongodb in your server to use that instead. Or, though time consuming, you could update the server to use promises.
I used this as reference, https://github.com/mongodb/node-mongodb-native/blob/HEAD/etc/notes/CHANGES_5.0.0.md#changes
Hi, I'm pretty new to this. I cloned the repo, but I get this error as soon as the client app loads:
The only thing that I've changed is adding the config.env file. Does anyone know why this could be happening?