BlockerCode
websocket_serverRuns a WebSocket server
What it means
The site runs a WebSocket server, an open connection that stays up to send live updates.
Why it stops the deploy
A server like this needs to run all the time, and on DeployAI the site runs only when someone visits. So the site will not go live.
How to fix it
- For live updates, check again every few seconds, or use a stream of updates from the server.
- If this is the heart of the site, like a live chat, your agent asks you before changing the structure.
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 a WebSocket server. A standalone WebSocket server cannot run here. Use polling or server-sent events for live updates, or ask the developer before redesigning this feature. 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