Replies: 2 comments 2 replies
-
Please have a look at the App Router example, this example has a 404 page that can be statically rendered. As a side note, at a first glance your layout at I'll move this to a discussion since this is a usage question. |
Beta Was this translation helpful? Give feedback.
-
for me I just passed msgs to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hello, first of all, I would like to thank you for developing
next-intl
.While applying this module to a project that uses Next.js app router, I faced the following problem:
In the development environment, the translation works fine without any errors, but when you do
next build
for production, the build fails with the following error:It looks like there is already an issue with the same problem as this one. However, the issue is closed and none of the solutions there worked for me:
#521
There is a reproducible project included in the reproduction course below: (https://github.com/jooy2/nextapp-template)
It's using Next.js 14.2.15, and there are third-party libraries like Material UI and Redux, but I've minimized their use in the project above to a single page.
Could you please check what part of my project is causing the problem, I would like to know if this is due to something I'm doing wrong or if it's a bug in
next-intl
.Thank you.
Verifications
Mandatory reproduction URL
https://github.com/jooy2/nextapp-template
Reproduction description
I am using:
Steps to reproduce:
npm i
npm run build
.Expected behaviour
The Next.js build should perform without errors.
Beta Was this translation helpful? Give feedback.
All reactions