-
Notifications
You must be signed in to change notification settings - Fork 92
Description
When PPR is enabled and there are dynamic pages, we fail to deploy with errors like this:
Plugin "@netlify/plugin-nextjs" failed
────────────────────────────────────────────────────────────────
Error message
Error: Failed assembling prerendered content for upload
ENOENT: no such file or directory, open '/tmp/next-test-1756209385347-23/.next/server/pages/lazily-generated-params/[param].html'
Data
The following is parsed automatically by the Next.js repo e2e test report generator.
test: test/e2e/app-dir/segment-cache/memory-pressure/segment-cache-memory-pressure.test.ts, test/e2e/app-dir/segment-cache/basic/segment-cache-basic.test.ts, test/e2e/app-dir/cache-components/cache-components.server-action.test.ts, test/e2e/app-dir/sub-shell-generation/sub-shell-generation.test.ts, test/e2e/app-dir/segment-cache/incremental-opt-in/segment-cache-incremental-opt-in.test.ts, test/e2e/app-dir/fallback-shells/fallback-shells.test.ts, test/e2e/app-dir/segment-cache/prefetch-runtime/prefetch-runtime.test.ts, test/e2e/app-dir/cache-components-bot-ua/cache-components-bot-ua.test.ts, test/e2e/app-dir/cache-components-allow-otel-spans/cache-components-allow-otel-spans.test.ts, test/e2e/app-dir/segment-cache/conflicting-routes/conflicting-routes.test.ts, test/e2e/app-dir/app-root-params-getters/generate-static-params.test.ts
reason: Failing to deploy with PPR enabled on dynamic pages