ルートの layout(app/layout.tsx)が例外を投げました。app/error.tsx と app/global-error.tsx の両方があります。どちらが出ますか。
app/global-error.tsx
Buildで実行
'use client' Browserで実行
export default function GlobalError() {Browserで実行
return (Browserで実行
<html lang="ja">Browserで実行
<body>Browserで実行
<p>ただいま表示できません</p>Browserで実行
</body>Browserで実行
</html>Browserで実行
)Browserで実行
}出典nextjs.org/docs/app/api-reference/file-conventions/errornextjs.org/docs/app/getting-started/error-handling