Skip to content

ECONNREFUSED: Error occurred prerendering page [app router] #58936

Closed Answered by woile
woile asked this question in App Router
Discussion options

You must be logged in to vote

Fixed it by adding to my page.tsx the folowing:

export const dynamic = 'force-dynamic'

See more: https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@carina7matei
Comment options

@jamesmagoo
Comment options

Answer selected by woile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants