Open
Description
Link to the code that reproduces this issue
https://stackblitz.com/edit/nextjs-84hachdn?file=app%2Flayout.tsx
To Reproduce
- Run
npm run dev
- Observe the terminal
Current vs. Expected behavior
Current behavior:
[Error: Route "/": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense]
Expected behavior:
Since the app does not contain a single async function, it should run correctly with no error
Provide environment information
Operating System:
Platform: linux
Arch: x64
Version: Ubuntu 20.04.0 LTS Mon Jun 16 2025 14:50:46 GMT-0400 (Eastern Daylight Time)
Available memory (MB): NaN
Available CPU cores: 4
Binaries:
Node: 20.19.1
npm: 10.8.2
Yarn: 1.22.19
pnpm: 8.15.6
Relevant Packages:
next: 15.4.0-canary.83 // Latest available version is detected (15.4.0-canary.83).
eslint-config-next: 13.5.1
react: 18.2.0
react-dom: 18.2.0
typescript: 5.2.2
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
dynamicIO
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local)
Additional context
I ran it against 15.4.0-canary.83 and 15.4.0-canary.70 and both have the same problem