Closed mozgbrasil closed 3 years ago
There were two signifiant changes recently in mongoose
and mongodb
, that are not reflected here yet. Both were rewritten and migrated to native TS version, so the code here - and also in 'connect-mongo' could be not in sync with a versions you're trying to use, directly. That is without minor updates here and there.
For example, connection option autoReconnect
is no longer even defined in current mongodb
options, hence the error:
https://github.com/mongodb/node-mongodb-native/blob/4ecaa37f72040ed8ace6eebc861b43ee9cb32a99/src/index.ts
Hello
Thank you so much for interacting
In the future I try again to use the updated dependencies.
Good morning my friends
About updating libraries
When using the ncu
https://www.npmjs.com/package/npm-check-updates
I updated the dependencies of the "package.json" file
But error is being returned
Thank you in advance if you can help