Fixes · Deploys that break
New Lovable app shows 404 on every page on Vercel
Lovable projects made since May 2026 use TanStack Start, which renders pages on a server. Built for Cloudflare Workers, they 404 on Vercel until they're built with Nitro.
Most common in apps built with Lovable.
What you see
Every page on Vercel, the home page included, shows 404 NOT_FOUND, or the deploy has no pages at all. The vercel.json rewrite that fixes older Lovable apps doesn't help, and can make it worse.
Why it happens
Since 13 May 2026, Lovable builds apps with TanStack Start, which makes each page on a server rather than in the browser. Its build says where that server runs. Set up for Cloudflare Workers (@cloudflare/vite-plugin and a wrangler.jsonc), it produces something Vercel can't run.
How to fix it
- Check package.json for @tanstack/react-start. If it's there, this page is about your app.
- Build with Nitro, which Vercel detects and runs: npm i nitro, then add nitro() from "nitro/vite" to the plugins in vite.config.ts, beside tanstackStart() and viteReact().
- Don't write a Nitro preset in, so Vercel is detected by itself.
- Remove any vercel.json rewrite to /index.html: a server-rendered app has no index.html to send pages to.
- Deploying to Cloudflare Workers with wrangler works as the app is.
Or ask your AI tool to fix it
Paste this into Lovable, Bolt, v0, Replit or Cursor, and let it make the change.
This TanStack Start app needs to deploy to Vercel, and it's set up to run on Cloudflare Workers. Make its build use Nitro: install nitro and add nitro() from "nitro/vite" to the Vite plugins, beside tanstackStart() and viteReact(). Don't hard-code a Nitro preset, and remove any vercel.json rewrite to /index.html. Keep the app working in Lovable's own preview: only use Nitro when process.env.VERCEL is set. Don't change what the app does. Don't change what the app does. Never put a secret key or password in the code: read it from an environment variable. If a step has to be done outside the code, like revoking a key in a provider's dashboard, list it for me at the end instead of skipping it.
How Launchpad helps
The launch check reads where the build is set up to run. The console's wizard deploys these apps as TanStack Start on Vercel, and stops before creating anything if the build can't run there, with this request ready to paste into Lovable.
Check your app for this, freeJoin the waitlist