BlockerCode
adapter_missing_nextjsNext.js needs the OpenNext adapter
What it means
The site is built with Next.js, but the official adapter that prepares it for our servers is missing.
Why it stops the deploy
Without the adapter the build does not produce the part of the site that runs on the server, so the site will not go live. There is no need to move the site to another tool. Support for Next.js is in beta.
How to fix it
- Your agent adds the Next.js adapter and sets it in the config file. It is a small change.
- Nothing else in the site changes.
- Run the check again.
Prompt for your agent
Copy it and paste it into your agent. It fixes the project, explains each step, and runs the check again.
DeployAI check found this in the project: Next.js needs the OpenNext adapter.
Keep Next.js. Install @opennextjs/cloudflare as a dependency and add open-next.config.ts with: import { defineCloudflareConfig } from "@opennextjs/cloudflare"; export default defineCloudflareConfig();. DeployAI then builds with opennextjs-cloudflare build. Next.js on DeployAI is in beta: tell the user, and do not convert the site.
Explain your plan and wait for my approval before architectural changes. Do not remove features without asking.
Explain every step to me in simple words.
When done, run: npx deployai@latest check