project_mern_memories
project_mern_memories copied to clipboard
app crashed....error- useFindAndModify is an invalid property
give solution please
Remove that line, in current mongoose that line is no more required
Thank you....problem is solved.
Hey :) I have the same problem.
It says: Error: useFindAndModify
is an invalid option.
Which line do you mean to remove @KasRoudra ?
Maybe @adrianhajdin you can help out?
Please help :)
@mitchxxmitch-code Remove 24 th line of index.js
Thanks! :)
Remove the line that says mongoose.set('useFindAndModify', false);