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

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?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.