Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error boundaries ignored in Production with dynamicParams = true #67055

Open
ackoppel-opus opened this issue Jun 20, 2024 · 1 comment
Open
Labels
bug Issue was opened via the bug report template. Output (export/standalone) Related to the the output option in `next.config.js`.

Comments

@ackoppel-opus
Copy link

ackoppel-opus commented Jun 20, 2024

Link to the code that reproduces this issue

https://github.com/ackoppel/next-ssg-error-page

To Reproduce

  1. npm run build
  2. npm run start
  3. open http://localhost:3000/bar/id -> Error.tsx reached
  4. open http://localhost:3000/foo/id -> Raw Next 500 error page

Current vs. Expected behavior

Expected to reach error.tsx component while a runtime error ocurred.
Instead ended up with raw next 500 page.

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Enterprise
  Available memory (MB): 65306
  Available CPU cores: 20
Binaries:
  Node: 20.11.1
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.4 // Latest available version is detected (14.2.4).
  eslint-config-next: 14.2.4
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.4.5
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Output (export/standalone)

Which stage(s) are affected? (Select all that apply)

next start (local)

Additional context

Have tested this with the following versions:
14.1.0
14.2.4

@ackoppel-opus ackoppel-opus added the bug Issue was opened via the bug report template. label Jun 20, 2024
@github-actions github-actions bot added the Output (export/standalone) Related to the the output option in `next.config.js`. label Jun 20, 2024
@ackoppel-opus
Copy link
Author

similar issue #62046

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. Output (export/standalone) Related to the the output option in `next.config.js`.
Projects
None yet
Development

No branches or pull requests

1 participant