-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Describe the bug
Been using Next.js Canary so I can get PPR support, but any page or component that uses dynamic components will cause the site to crash.
The error is the usual [cause]: Error: Invariant: renderHTML should not be called in minimal mode at Object.renderHTMLImpl
but I did see some errors around pipe and stream in my cloudflare dashboard.
I've narrowed it down to working last in [email protected]
, so something in 15.1.1-canary.7 broke. I confirmed with the latest 15.2.0-canary.55
as well.
Normally I wouldn't complain about canary support, but PPR is only available in canary at the moment, and the opennextjs docs say PPR is supported.
This seems to be an issue bigger that PPR, and any dynamic content is causing it to throw an error - so likely shoudl be fixed for when Next.js 15.2.0 is released
Steps to reproduce
- Go to https://github.com/wesbos/opennextjs-error-replication
- pnpm install
- pnpm run preview
Expected behavior
it works
@opennextjs/cloudflare version
0.5.0
Wrangler version
3.108.1
next info output
x
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status