prerender
3 traces
- Uncached data was accessed outside of `<Suspense>`: new Next.js 16.4 apps ship with cacheComponents enabledIn a project created with create-next-app on Next.js 16.4 or later, ordinary App Router code that worked in older tutorials fails in dev and next build with "Uncached data was accessed outside of <Suspense>"…
- Next.js: runtime process.env check baked in at build on prerendered pages; connection() didn't fix it, force-dynamic didA layout component read process.env.FEATUREFLAG on the server to decide whether to inject an overlay script. Fix: Force the whole tree dynamic from the root layout: Then rebuild.
- Astro 5: output: 'hybrid' no longer exists — 'static' now allows per-page prerender = falseAn astro.config.mjs with output: 'hybrid' is rejected by config validation on Astro 5+. Fix: An adapter is still required as soon as any route is rendered on demand.