next v15 with turbo causes "params should be awaited" error without params usage but with icon.svg file and slug in root path in app router #74918
Labels
Internationalization (i18n)
Related to Internationalization with Next.js.
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://github.com/Cielquan/nextjs-params-async-turbo-issue
To Reproduce
pnpm i
dev
script e.g.pnpm dev
dev
scriptdev
script with--turbo
e.g.pnpm dev --turbo
src/app/[locale]/app/icon.svg
fileCurrent vs. Expected behavior
Current
icon.svg
somehow causes an error whereparams.locale
is used but not awaited, even so my code does not useparams
at all anywhere.Expected
icon.svg
should not causes the error.Provide environment information
Operating System: Platform: linux Arch: x64 Version: #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 Available memory (MB): 15994 Available CPU cores: 4 Binaries: Node: 20.12.1 npm: 10.5.0 Yarn: 1.22.19 pnpm: 9.11.0 Relevant Packages: next: 15.1.4 // Latest available version is detected (15.1.4). eslint-config-next: N/A react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Turbopack, Internationalization (i18n)
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: