-
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't workingmodule:corepriority:highHigh priorityHigh prioritytype:bugBug fixBug fix
Milestone
Description
Problem
Next.js build is failing with "Dynamic server usage" warnings for API routes that use getServerSession().
Impact
- Build failures preventing deployments
- Unclear error messages
- Developer time wasted on debugging
Expected Solution
Explicitly mark API routes as dynamic using export const dynamic = 'force-dynamic' for routes that use getServerSession().
Related
This issue is resolved by PR #72.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingmodule:corepriority:highHigh priorityHigh prioritytype:bugBug fixBug fix
Projects
Status
Done