-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
[Bug] setStaticParamsLocale(locale) -> RangeError: Maximum call stack size exceeded #255
Comments
Sounds like a Next.js bug then 😅 I'll check this weekend. |
Small update: Indeed, |
Thank you so much! |
I have experienced a slightly different version of this bug with material-tailwind that only occurred during runtime in the browser console. Builds worked, "run dev" worked, solution was the same, everything works in 13.5.3. Even just <Card>Hi</Card> using material-tailwind caused it but for me only after a deployment, not during the build. Hope this helps. |
Thank you! |
Describe the bug
This error occurs during the build phase, when calling the
yarn build
command, during the Generating static pages step.This error does not occur when using Next.js v13.5.3, but occurs when using Next.js v >= 13.5.4
I've removed all my code, except the
To Reproduce
yarn install
yarn build
The error then occurs. :/
You can inspect the following files, causing the crash:
src/app/[locale]/(pages)/[categ]/page.tsx
src/app/[locale]/(pages)/[categ]/[subcateg]/page.tsx
src/app/[locale]/(pages)/[categ]/[subcateg]/[slug]/page.tsx
If necessary, I will try to create a more minimalistic repo, to have a more precise bug reproduction this week-end.
(Maybe this bug is more related to Next.js than Next International, idk.)
next-international version: >= 1.1.2 (I haven't tested the older versions)
Next.js version: >= 13.5.4
The text was updated successfully, but these errors were encountered: