Blog86 guides
Deploying, in plain words.
How to put what your coding agent built online, what it costs and what to do when it breaks. One question per page, checked against the live platform.
01Start here
What it is, in plain words.
What Antideploy is, what problem it solves, and what it can and cannot run.
-
What is Antideploy?
Antideploy deploys what your coding agent built, backend and database included. What it is, who it is for and what it costs.
Read the guide -
Why does my app work on localhost but not online?
Nine common reasons, how to check each one, and how to fix it.
Read the guide -
What does deploying an app mean?
Deploying, in plain words. The ten words you will meet, and what each one means.
Read the guide -
Is my app a static site, a server or a function?
How to tell which one you have, and how each is treated, including what it costs.
Read the guide -
Do I need Docker, Kubernetes or YAML to deploy?
No. What each one is, why one app does not need them, and when a Dockerfile is still worth it.
Read the guide -
Is Antideploy free? What happens at the limit?
Yes, there is a Free plan. What it includes, what happens at each limit, and what paid plans cost.
Read the guide -
Is Antideploy safe and legit?
Who runs it, where your data lives, how secrets are handled, and what is not promised.
Read the guide -
What can't Antideploy run?
The honest list: one region, sleeping apps, no Redis or MongoDB, no background workers, and what is refused.
Read the guide -
How Antideploy works, from one sentence to a live link
What happens between your agent's first request and your live link, step by step.
Read the guide -
What your coding agent forgets before you deploy
A checklist of what agents often leave out: the lock file, the port, variables, migrations and uploads.
Read the guide
02Deploy from your coding agent
Pick your agent, paste one sentence.
Claude Code, Codex, Cursor, Antigravity or any other agent. The steps are the same, and your agent does most of them.
-
How to deploy an app built with Claude Code
One sentence, one approval, a live link. What Claude Code does at each step, what it costs and where it stops.
Read the guide -
How to deploy an app built with Codex
One sentence, one approval, a live link. Plus the one Codex setting that can get in the way: network access.
Read the guide -
How to deploy an app built with Cursor
One sentence, one approval, a live link. How Cursor's approval settings fit in.
Read the guide -
How to deploy an app from Antigravity
One sentence, one approval, a live link. How Antigravity's terminal settings fit in.
Read the guide -
How to deploy from any coding agent
Windsurf, Cline or any agent that can read a web page. Paste one sentence, or add the MCP server.
Read the guide -
How to deploy an app without opening a dashboard
Your agent deploys, reads logs and sets things up. The few things that stay in a browser, and what to say.
Read the guide -
What can my coding agent do with my Antideploy account?
What your agent can do, what it cannot do, where its token lives, and how to revoke it.
Read the guide -
How to let your agent read logs and fix a failed deploy
The loop: read the reason, read the logs, fix the code, deploy again. And what Antideploy repairs for you.
Read the guide
03Deploy by app type
Whatever you built, here is how it deploys.
One guide for each kind of app: what Antideploy detects, how it starts the app, and what usually goes wrong.
-
How to deploy a website
Ask your agent, connect GitHub, or drop a folder. A site made only of files is free and unlimited.
Read the guide -
How to deploy a full-stack app
A frontend, an API and a database. One app or two, and what to do about each piece.
Read the guide -
How to deploy a static website for free
Plain HTML or a built frontend. Unlimited, free on every plan, with HTTPS and no card.
Read the guide -
How to deploy an Express API with a database
The start script, the PORT variable, DATABASE_URL, migrations, and the failures to avoid.
Read the guide -
How to deploy a Next.js app with a backend and database
API routes, Postgres and Prisma. What runs, how migrations work, and why builds fail on environment variables.
Read the guide -
How to deploy a Vite React app
A Vite app deploys as a free static site. The build, the dist folder, routing and variables.
Read the guide -
How to deploy a FastAPI app with Postgres for free
The uvicorn command, the port, DATABASE_URL, Alembic migrations and the Python version.
Read the guide -
How to deploy a Flask app for free
How your app is found, why to add gunicorn, the PORT variable and Postgres.
Read the guide -
How to deploy a Django app
gunicorn, automatic migrations, ALLOWED_HOSTS, static files and the database setting.
Read the guide -
How to deploy a Streamlit app
Your entry file is found, Streamlit starts with the right flags, and WebSockets stay open.
Read the guide -
How to deploy a Gradio app
Your entry file is found and run with python. Launch on 0.0.0.0 and PORT, and mind the 1 GB of memory.
Read the guide -
How to deploy a Spring Boot app
Maven or Gradle, the executable jar, the port, and a Postgres JDBC URL from the PG variables.
Read the guide -
How to deploy a Hono app
Run Hono as a Node server: the adapter, the start script, the PORT variable and Workers code.
Read the guide -
How to deploy a Go app
go.mod, the built binary, the PORT variable, Postgres and the go.sum fix.
Read the guide -
How to deploy a Docker app with your own Dockerfile
Where the Dockerfile must be, how the port is read, the account rule and the RUN --mount limit.
Read the guide
04Add something to your app
Add what your app needs, with nothing to sign up for.
A database, file uploads, login, email, AI, scheduled jobs, secrets and your own domain.
-
How to add a Postgres database to your app
Ask your agent. A Postgres 17 database is created beside your app and DATABASE_URL is set.
Read the guide -
How to add file uploads to your app
Uploads on disk vanish on every deploy. Ask for a private S3 bucket and upload with any S3 client.
Read the guide -
How to add login to your app
Email and password sign-in, with users stored in your own Postgres. What is on and what is not.
Read the guide -
How to send email from your app
Welcome messages and receipts with the Resend package, with no account to open and no DNS to touch.
Read the guide -
How to add AI to your app
One key for hundreds of models, paid from a prepaid wallet in rupees. Your agent creates the key.
Read the guide -
How to run a scheduled job on your app
Write a route, schedule it. Antideploy calls it on a cron schedule and wakes the app if it sleeps.
Read the guide -
How to set environment variables and secrets
Encrypted and write-only. What you set, what is filled in for you, and how a change reaches the app.
Read the guide -
How to connect your own domain
One CNAME record, HTTPS included. Available from the Go plan. Root domains versus www.
Read the guide -
How to see logs and know when your app is down
Logs, traffic numbers and health on every plan. An email when your app goes down and when it is back.
Read the guide
05Fix an error
Paste the error, get the fix.
Each page starts with the exact message, then says what it means and how to fix it.
-
npm ci can only install packages when your package.json and package-lock.json are in sync
The lock file does not match package.json. Run npm install and commit the lock file.
Read the guide -
sh: 1: vite: not found
The build ran a command that is not installed. Add the package, or use a Dockerfile for system programs.
Read the guide -
Failed to collect page data for /api/users
A route's code threw during the build. Usually a variable or a database call at the top of a file.
Read the guide -
Next.js build worker exited with code: 1
The build worker crashed. Read the lines above for the file, run the build locally, and check memory.
Read the guide -
invalid Python version specified: failed to resolve version
The builder does not offer the Python version you asked for. Pin one of the versions it lists.
Read the guide -
failed to parse Dockerfile: file with no instructions
Your Dockerfile is empty. Add instructions, or delete it and let Antideploy build the project.
Read the guide -
npm error ERESOLVE could not resolve dependency tree
Two packages want different versions of a third. Align the versions, or use legacy-peer-deps.
Read the guide -
npm error EBADPLATFORM Unsupported platform
Your lock file requires a package for another operating system. Regenerate and commit it.
Read the guide -
Your app built successfully but never started listening on its port
The app built but never answered on its port. Read PORT, listen on 0.0.0.0 and check the logs.
Read the guide -
ModuleNotFoundError: No module named
Your code imports a package that is not in requirements.txt. Add it, using the package name.
Read the guide -
ERROR: Could not find a version that satisfies the requirement
No version matches your requirements.txt, often because of the Python version. Pin Python or loosen the pin.
Read the guide -
ERROR: Failed building wheel for psycopg2
A package had to be compiled and the compile failed. Use a prebuilt version, or pin Python to 3.12.
Read the guide -
TypeScript error fails the build
A type error stops the build even when the app runs locally in dev mode. Run the type check and fix it.
Read the guide -
Module not found: Can't resolve
The build cannot find an import. Match capital letters exactly, add the package, or commit the file.
Read the guide -
FATAL ERROR: JavaScript heap out of memory
The build ran out of memory, usually from a very large bundle. Shrink it or raise Node's limit.
Read the guide -
Error: Cannot find module when the app starts
The start command needs a package that was removed with the dev dependencies after the build.
Read the guide -
ERR_PNPM_IGNORED_BUILDS Ignored build scripts
pnpm blocked install scripts for packages like esbuild and sharp. Allow them in pnpm-workspace.yaml.
Read the guide -
ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION
pnpm refused packages published too recently. Wait, pin the previous version, or relax the policy.
Read the guide -
sh: prisma: not found during prisma generate
The build ran prisma generate and prisma is not installed. Add it at the same version as @prisma/client.
Read the guide -
Prisma Environment variable not found
Prisma needed a variable and it was not set. DATABASE_URL is set for you when your app has a database.
Read the guide -
Prisma 7 datasource url is no longer supported
Prisma 7 removed the url field. Pin Prisma to version 6, or move the connection into prisma.config.ts.
Read the guide -
missing go.sum entry for module providing package
Your go.sum is incomplete. Run go mod tidy and commit go.mod and go.sum.
Read the guide -
npm error notarget No matching version found
No published version matches the range in package.json. Check the version and the spelling.
Read the guide -
npm error code E404 is not in this registry
npm cannot find a package by that name. Check the spelling. Agents sometimes invent package names.
Read the guide -
npm error Missing script: "build"
Something ran npm run build and there is no build script. Add one, or remove the step.
Read the guide -
ERROR: No buildpack groups passed detection
The builder could not tell the language. No manifest file is at the root of what was sent.
Read the guide -
Parsing ecmascript source code failed
The compiler could not parse a source file, usually a syntax error. The lines above name the file.
Read the guide -
The build ran out of time
Builds are given 20 minutes. A step is probably hanging, such as a watch mode or a long compile.
Read the guide -
invalid Node.js version specified: failed to resolve version
Your project asks for a Node.js version the builder does not have. Change engines.node or .nvmrc.
Read the guide -
Your app ran out of memory while starting up
Each app has 1 GB, a Java app 2 GB. Loading a large model or dataset at startup can use it all. Load lazily.
Read the guide -
relation "users" does not exist
The database exists but the tables do not. Your migration did not run, or was not detected.
Read the guide -
Error: connect ECONNREFUSED 127.0.0.1:5432
Your app tries to reach a database on localhost. Read DATABASE_URL and create a hosted database.
Read the guide -
Access blocked by CORS policy after deploy
Your frontend calls an API on another address and the browser blocks it. Allow the exact origin.
Read the guide -
404 Not Found when I refresh a React page
A single-page app shows 404 on refresh. How Antideploy handles routes, and when it still fails.
Read the guide -
My app is slow on the first visit
Apps sleep when idle, so the first request takes seconds. Measured times and what helps.
Read the guide -
My uploaded files disappeared after I deployed
Files saved to the app's disk are gone after a deploy, with no error. Use a private bucket instead.
Read the guide -
My SQLite database resets after every deploy
SQLite keeps data in a file, and the disk is replaced on every deploy. Move to Postgres.
Read the guide -
My node-cron job never runs after deploy
A timer inside your app cannot fire while it sleeps. Use a scheduled job that calls a route.
Read the guide -
process.env variable is undefined after deploy
A variable is undefined online. It was not set, set after the build, not redeployed, or misspelled.
Read the guide -
DisallowedHost: Invalid HTTP_HOST header
Django refuses an address that is not in ALLOWED_HOSTS. Add your address or the .antideploy.app pattern.
Read the guide
06Hosting in India
Built for India, paid in rupees.
Pay with UPI, run close to your users, and start on a free plan.
-
How to host an app in India and pay with UPI
Start free with no card, then pay in rupees by UPI Autopay or card. Apps run in Singapore.
Read the guide -
A Vercel alternative in India with rupee pricing
When Antideploy fits for a backend and a database, paid in rupees, and when Vercel is the better choice.
Read the guide -
Free hosting for students and first projects in India
Unlimited static sites, 1 app with a server and 1 database. No card, and nothing to verify.
Read the guide -
How to host client apps as a freelancer or small agency
How many client apps each plan holds, free static sites, client domains and the limits to tell clients.
Read the guide
Deploy something. Start with one sentence.
Paste one sentence into your coding agent, click Approve once, and get a live link. No card, no trial clock.