会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
礼拜16
喜欢读书,喜欢代码 https://github.com/old-boy
博客园
首页
新随笔
联系
订阅
管理
2020年4月21日
解决 mongoose DeprecationWarning 错误导致数据库连接不成功
摘要: mongoose 版本低提示错误为: DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. 通常升级 mongoose 就可以解决: npm install mongoose 连接数据
阅读全文
posted @ 2020-04-21 09:30 礼拜16
阅读(1307)
评论(0)
推荐(0)
编辑
公告