Skip to content

[nextjs template]The packaging reports an error due to the failure of prerendering. #67

@youAreNotAFish-back

Description

@youAreNotAFish-back

When Hono is integrated with a Next.js project, if requests are sent in server-side components (I noticed that requests are only sent in client-side components in the template), an error will be reported during packaging due to the failure of prerendering. Using "export const dynamic = 'force-dynamic';" can avoid the error. However, is there a perfect solution to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions