Next.js Discord

Discord Forum

Cant implement PPR to my NextJs App

Unanswered
Common paper wasp posted this in #help-forum
Open in Discord
Common paper waspOP
Hi, im following a tutorial building a NextJs app using Sanity. I'm on the section where i need to to PPR but ran into this issue

[CanaryOnlyError: The experimental feature "experimental.ppr" can only be enabled when using the latest canary version of Next.js.]

then when i try to npm install next@canary based on the official link: https://nextjs.org/docs/messages/ppr-preview
Got this error: npm ERR! Unable to resolve reference $react-dom

0 Replies