Under the heading Implementing Partial Prerendering, the config needs to be updated. Currently when running pnpm dev
one receives:
> dev
> next dev --turbopack
[Error: `experimental.ppr` has been merged into `experimental.cacheComponents`.
The Partial Prerendering feature is still available, but is now enabled via `experimental.cacheComponents`.
Please update your next.config.ts accordingly.]
It appears that:
const nextConfig: NextConfig = {
experimental: {
ppr: 'incremental'
}
};
should be changed to:
const nextConfig: NextConfig = {
experimental: {
cacheComponents: true,
}
};