未处理的拒绝
UnhandledRejection:Astro 检测到未处理的拒绝。这是堆栈跟踪:
STACK¥UnhandledRejection: Astro detected an unhandled rejection. Here’s the stack trace:
STACK
什么地方出了错?
Section titled “什么地方出了错?”¥What went wrong?
Astro 找不到任何代码来处理被拒绝的 Promise。确保你的所有 promise 都有 await 或 .catch() 处理程序。
¥Astro could not find any code to handle a rejected Promise. Make sure all your promises have an await or .catch() handler.