MISSING_MESSAGE during build #1350
branislavbrincko
started this conversation in
General
Replies: 1 comment
-
This could be related: #87 (comment). Otherwise have a look on the issue tracker, there's been some troubleshooting in relation to this: https://github.com/amannn/next-intl/issues?q=is%3Aissue+missing_message+is%3Aclosed+pages |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
next: 14.2.11 (using pages router)
next-intl: 3.19.3
When I build my app I get multiple MISSING_MESSAGE warnings (but everything is fine when the app is running).
In
_app.tsx
I import different custom providers in which I useuseTranslations
. From what I understood the_app
is "prebuilt" ahead of pages, in which messages are fetched, so indeed,_app
does not have access to any messages during build.Is there a way how to fix this error (and are my assumptions even correct)?
Thanks for help 🙏
Beta Was this translation helpful? Give feedback.
All reactions