MongooseError - Operacja `Users.findone () 'buforowanie po 10000 ms
npm i -E [email protected]
or
yarn add -E [email protected]
Smoggy Salamander
npm i -E [email protected]
or
yarn add -E [email protected]
The issue on model.find() error: Operation products.find() buffering
timed out after 10000ms" was resolved by removing the node_module
folder, *.json files and reinstalling the mongoose module.
The issue on the warnings was resolved by following this
instructions https://mongoosejs.com/docs/deprecations.html
add your current ip to your mongodb atlas
This link explains everything, solve the issue.
https://dev.to/veroca88/set-up-mongodb-atlas-and-connect-with-node-js-avoid-mongooseerror-operation-x-findone-buffering-timed-out-after-10000ms-5dpi