这是我收到的错误:
(node:11692) UnhandledPromiseRejectionWarning: MongoNetworkError: 连接到 cluster0-shard-00-01-wwvto.mongodb.net:27017 的第 5 次连接已关闭。 at TLSSocket. (C:\Node Example\node-rest-shop\node_modules\mongodb-core\lib\connection\connection.js:276:9) at Object.onceWrapper (events.js:273:13) at TLSSocket.emit (events.js:187:15) at _handle.close (net.js:606:12) at TCP.done (_tls_wrap.js:386:7)
(node:11692) UnhandledPromiseRejectionWarning: 未处理的 Promise 拒绝。此错误源于在未带 catch 块的异步函数内抛出,或拒绝未使用 .catch() 处理的 promise。(rejection id:1)
(node:11692) [DEP0018] DeprecationWarning: 不处理未处理的 Promise 拒绝已停用。未来,未处理的 promise 拒绝将以非零退出码终止 Node.js 进程。