📌  相关文章
📜  DeprecationWarning:监听 Db 类上的事件已被弃用,将在下一个主要版本中删除. - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:19.980000             🧑  作者: Mango

代码示例1
#1 You can downgrade mongodb to version 3.6.3

#2 Or downgrade mongoose from 5.11.16 back to 5.11.15:

npm uninstall mongoose
npm install mongoose@5.11.15

#3 Or just wait for the release of mongodb@3.6.5.