Comments (1)
How are you determining that you're running Mongoose 8.5? And, also, are you using any other MongoDB related packages, like connect-mongo or connect-mongodb-session? https://jira.mongodb.org/browse/NODE-5802 indicates this error only occurs on older versions of the MongoDB Node driver (3.x, corresponding to Mongoose 5.x). I also can confirm I get this warning on Mongoose 5.x, but not Mongoose 6.x or higher when running the following script
const mongoose = require('mongoose');
mongoose.connect('mongodb://user:[email protected]:27017,bycdigital-shard-00-01.9cgp0.mongodb.net:27017,bycdigital-shard-00-00.9cgp0.mongodb.net:27017/?authSource=admin&replicaSet=atlas-9xtpry-shard-0&retryWrites=true&w=majority&appName=BYCDigital&ssl=true');
Try running npm list | grep "mongo"
and paste the output here?
from mongoose.
Related Issues (20)
- Virtuals not serialized after v8.5 HOT 3
- Cursor.next can return null, but TypeScript says it can't
- `this` context in nested schema `required` functions changed since mongoose 7.0.2+ HOT 2
- mongoose.connection.db can be undefined, but TypeScript says it can't
- Intersection type error in embedded schema when iterating through an embedded array HOT 3
- Populate + lean + multiple populated documents leads to "Cannot read properties of undefined (reading '_id')" in version 8.5.2 HOT 1
- After replica election, mongoose can't connect to mongo db and throw timeout error each 30s HOT 2
- Issue deleted
- Model.bulkWrite options strict weird behavior HOT 1
- Question about .findOne() HOT 1
- can not specify zstd compression level HOT 4
- Mongoose.prototype.connect() : Discrepancy between changelog and example in document. HOT 1
- How to type added static methods and query helpers
- populated sub-documents have same references HOT 1
- Transaction aborts when used with `ordered: false`
- Model.applyVirtuals(): apply schema virtuals to a POJO, similar to Model.applyDefaults() HOT 4
- Discriminator Method Modifies Schema Argument in Mongoose HOT 2
- Mongoose creates duplicate collections when name includes uppercase characters HOT 1
- There is a bug thats i dont save HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongoose.