MongoDB deprecated functions

Tell us what’s happening:
I am trying to pass lesson “Delete Many Documents with model.remove()” in " Back End Development and APIs".

I 've got error

I tried to use offered functions but I 'd got similar mistake. Could you please advice for a solution.

Your project link(s)

solution: boilerplate-mongomongoose - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Delete Many Documents with model.remove()

Link to the challenge:

Try to change the version of your mongoose to 5.13.14

You need to go back to the first challenge of this section and make sure you install the package versions specified.

I tried 5-6 times for version 5.13.14 I can not pass lesson 3 and other - only connection and scheme :

I tested “mongoose”: “^5.6.5” too (as this is in solution to the lesson). But i can not pass 3rd lessons and others. Is there any other service instead of for setting older Mongo DB version?

The lesson I referenced above is not using mongoose ^5.6.5 and is not using mongo 3.0.0. If you set it to the exact versions shown in the lesson, you should be fine.