BlockerCode
express_serverRuns its own Node server
What it means
The site starts its own server that listens on a port, for example with Express.
Why it stops the deploy
There is no server that runs all the time on DeployAI. The site runs only when someone visits, so a server that listens on a port will not work.
How to fix it
- Move the routes to Hono, which is very similar to Express and works on DeployAI.
- Or to Astro API routes.
- Delete the line that starts the server (app.listen).
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: Runs its own Node server. A custom server that listens on a port cannot run here. Move the routes to Hono (very similar to Express and runs on Cloudflare Workers) or to Astro API routes, and remove app.listen. 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