Skip to content
DeployAI
BlockerCode express_server

Runs 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

  1. Move the routes to Hono, which is very similar to Express and works on DeployAI.
  2. Or to Astro API routes.
  3. 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