Unsupported output type: "undefined"for dynamic route
Answered
Buller's Shearwater posted this in #help-forum
Buller's ShearwaterOP
What could be the reason for this?
I'm using Turborepo 2.0.1 and Nextjs 15.0.0-rc.0
klubb/[clubSlug]/page.tsx is a completely standard page file, with only static content.
I'm using Turborepo 2.0.1 and Nextjs 15.0.0-rc.0
@fotballfeber/nextjs:build: ƒ Middleware 64.2 kB
@fotballfeber/nextjs:build:
@fotballfeber/nextjs:build: ○ (Static) prerendered as static content
@fotballfeber/nextjs:build: ◐ (Partial Prerender) prerendered as static HTML with dynamic server-streamed content
@fotballfeber/nextjs:build: ƒ (Dynamic) server-rendered on demand
@fotballfeber/nextjs:build:
Tasks: 3 successful, 3 total
Cached: 0 cached, 3 total
Time: 1m11.186s
Summary: /vercel/path0/.turbo/runs/2hTEsANqFueoo5317x3yZHl6iZV.json
Traced Next.js server files in: 63.686ms
Created all serverless functions in: 4.335s
Collected static files (public/, static/, .next/static): 11.343ms
Error: Unsupported output type: "undefined" for klubb/[clubSlug].rscklubb/[clubSlug]/page.tsx is a completely standard page file, with only static content.
Answered by Buller's Shearwater
It was related to ppr being set to true in my next config
2 Replies
Buller's ShearwaterOP
It was related to ppr being set to true in my next config
Answer
Buller's ShearwaterOP
Regardless, it should probably be looked into. I'll report it as a bug.