请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

connect.multipart() will be removed in connect 3.0

/home/ompeak_manager/.pm2/logs/Movie-error-2.log last 15 lines:

2|Movie    | connect.multipart() will be removed in connect 3.0

2|Movie    | visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives

2|Movie    | connect.limit() will be removed in connect 3.0

2|Movie    | Db.prototype.authenticate method will no longer be available in the next major release 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate using MongoClient.connect with auth credentials.

2|Movie    | connect.multipart() will be removed in connect 3.0

2|Movie    | visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives

2|Movie    | connect.limit() will be removed in connect 3.0

2|Movie    | connect.multipart() will be removed in connect 3.0

2|Movie    | visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives

2|Movie    | connect.limit() will be removed in connect 3.0

2|Movie    | Db.prototype.authenticate method will no longer be available in the next major release 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate using MongoClient.connect with auth credentials.

2|Movie    | Db.prototype.authenticate method will no longer be available in the next major release 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate using MongoClient.connect with auth credentials.

2|Movie    | Db.prototype.authenticate method will no longer be available in the next major release 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate using MongoClient.connect with auth credentials.

2|Movie    | Db.prototype.authenticate method will no longer be available in the next major release 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate using MongoClient.connect with auth credentials.

2|Movie    | Db.prototype.authenticate method will no longer be available in the next major release 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate using MongoClient.connect with auth credentials.


正在回答 回答被采纳积分+3

1回答

Scott 2017-10-08 12:08:43

这个是三方模块使用时候常见的升级报警提示,比如 connect


https://github.com/senchalabs/connect/wiki/Connect-3.0


按照提示的到官方文档中修改下使用方法就行了,同理连接数据库也如此:


Please authenticate using MongoClient.connect with auth credentials.


到 mongoose 这里,按照官方示例修改下看看:


http://mongoosejs.com/

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号