问答详情
源自:3-3 新增期刊内容02-模型操作

这是哪出错了,看的头都大了

(Use `node --trace-warnings ...` to show where the warning was created)

(node:11352) 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: 2)

(node:11352) [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.


提问者:weixin_慕斯5388347 2021-04-17 14:23

个回答