Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

current Server Discovery and Monitoring engine is deprecated #74

Open
blanexie opened this issue Nov 22, 2019 · 0 comments
Open

current Server Discovery and Monitoring engine is deprecated #74

blanexie opened this issue Nov 22, 2019 · 0 comments

Comments

@blanexie
Copy link

(node:23) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.

mongdb 的错误, 解决办法: 可以参考 Automattic/mongoose#8362
https://blog.csdn.net/Mr_pets/article/details/102990293.

具体修改: 从抱错日志看需要修改 /app/exec.js:16:12 文件中的16行12列的连接mongodb连接代码,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant