-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Unable to find next-intl
locale
#526
Comments
It's not. 446 marked as answered and merged, While it's repeating in the last version of the package |
|
Thanks for quick response and trying, but it appears on dev for me. Not production only |
I have the same problem. I followed the guide (it seems in step 5
I use the latest beta version and next 13.5.2 |
🤦♂️, of course—my bad. The issue is the following: You have this middleware matcher: Last week I've updated the setup step for creating the layout to validate the incoming locale without having to use This helps to get rid of the issue in your app. I'll try to improve the error message for this case, thanks for bringing this up! |
thank you. Yes, new layout config fixed the console error |
Great to hear! I've added a new troubleshooting section here with more context: https://next-intl-docs.vercel.app/docs/routing/middleware#unable-to-find-locale It will also be linked to from the "Unable to find next-intl locale" message in the next beta release. Thanks again! |
Not sure if I should create an issue for this, but I can't really wrap my head around how importing a css file suddenly causes me to get this error (nothing seems to actually break, though i have not checked the build output), you can see multiple console logs where "en" is indeed received, but also "_next" at some point... The only thing I do is import a
|
Description
version: ^3.0.0-beta.19
Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://github.com/ivanafanasyeu/languages-with-lib
Reproduction description
Steps to reproduce:
Expected behaviour
Working project with no errors in dev mode and build
The text was updated successfully, but these errors were encountered: