DEV Community


Discussion on: Help With Mongoose

hellnar profile image
Stas Klymenko

Here is a page from Mongoose about this kind of errors:

I've used all these 4 settings and the problem was solved:

mongoose.set('useNewUrlParser', true);
mongoose.set('useFindAndModify', false);
mongoose.set('useCreateIndex', true);
mongoose.set('useUnifiedTopology', true);

cdthomp1 profile image
Cameron Thompson Author

I have also tried this and still get the warning.