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

return internal server error (500) on root page (work fine internal page) in production next build but work perfectly in development mode #1288

Closed
3 tasks done
torikul00 opened this issue Aug 26, 2024 · 2 comments
Labels
bug Something isn't working reproduction-missing Stale unconfirmed Needs triage.

Comments

@torikul00
Copy link

Description

I have implemented next-intl with app router (With i18n routing) . its work fine in development mode but when I build the next js for production then its throwing error (Internal server error - 500) ,says (TypeError: Cannot read properties of undefined (reading 'clientModules') . but the internal page (/about,/services) work fine . it just nor working for root page(/) after production

Verifications

  • I've verified that the problem I'm experiencing isn't covered in the docs.
  • I've searched for similar, existing issues on GitHub and Stack Overflow.
  • I've compared my app to a working example to look for differences.

Mandatory reproduction URL

App Router

Reproduction description

Steps to reproduce:

  1. Open reproduction
  2. Click on …
  3. See error: …

Expected behaviour

Its should work as well after build like development

@torikul00 torikul00 added bug Something isn't working unconfirmed Needs triage. labels Aug 26, 2024
@torikul00 torikul00 changed the title return internal server error (500) on root page (work internal page) in production next build but work perfectly in development mode return internal server error (500) on root page (work fine internal page) in production next build but work perfectly in development mode Aug 26, 2024
Copy link

Thank you for your report!

Unfortunately, the reproduction is missing or incomplete, and as such we cannot investigate this issue. Please add a reproduction to the issue, otherwise it will be closed automatically.

Templates:

Creating a good bug report takes time.

To help us resolve the issue quickly, please simplify the reproduction as much as possible by removing any unnecessary code, files, and dependencies that are not directly related to the problem. The easier it is for us to see the issue, the faster we can help you.

Apart from the reproduction, make sure to include the precise steps on how to reproduce the issue, e.g.:

  1. Open reproduction
  2. Click on …
  3. See error: …

Thank you for your understanding!

FAQ

"I've included a reproduction, what is missing?"

This comment might have been added because your reproduction doesn't point to a destination where the issue can be reproduced. Please make sure that the latest changes were saved in the reproduction and that the link is correct.

Copy link

This issue has been automatically closed because it is currently not actionable and has become stale. If the problem persists, please create a new issue.

@github-actions github-actions bot added the Stale label Sep 11, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reproduction-missing Stale unconfirmed Needs triage.
Projects
None yet
Development

No branches or pull requests

4 participants
@amannn @torikul00 and others