┌─[root@10-255-0-225] - [/home/repos/Moe-counter] - [日 8月 23, 21:57]
└─[$] <git:(master*)> yarn start
yarn run v1.22.4
$ node index.js
Your app is listening on port 3001
(node:19669) UnhandledPromiseRejectionWarning: MongoError: Authentication failed.
at MessageStream.messageHandler (/home/repos/Moe-counter/node_modules/mongodb/lib/cmap/connection.js:266:20)
at MessageStream.emit (events.js:315:20)
at processIncomingData (/home/repos/Moe-counter/node_modules/mongodb/lib/cmap/message_stream.js:144:12)
at MessageStream._write (/home/repos/Moe-counter/node_modules/mongodb/lib/cmap/message_stream.js:42:5)
at doWrite (_stream_writable.js:403:12)
at writeOrBuffer (_stream_writable.js:387:5)
at MessageStream.Writable.write (_stream_writable.js:318:11)
at Socket.ondata (_stream_readable.js:716:22)
at Socket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at Socket.Readable.push (_stream_readable.js:212:10)
at TCP.onStreamRead (internal/stream_base_commons.js:186:23)
(node:19669) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:19669) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.