Tell us what’s happening:
Describe your issue in detail here.
Your project link(s)
Your app is listening on port 3000 OPTIONS POST (node:13739) [MONGODB DRIVER] Warning: collection.remove is deprecated. Use deleteOne, deleteMany, or bulkWrite instead. SyntaxError: Unexpected token o in JSON at position 1
Syntax error im getting in my console as I run FCC’s test. Ive also downloaded mongo’s compass app and started from scratch with new objectid’s = same result
Is this challenge wanting me to go further and delete the presented JSON?
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36
Challenge: Delete Many Documents with model.remove()
Link to the challenge: