Lovable blank page after publish: fixes
The preview works and the live link shows nothing. Here is how to read the error yourself, match it to its usual cause, and fix it without guessing.
Updated November 25, 2026: Added inline source links and quotes, and removed DNS details Lovable's custom domain page no longer states.

As of October 10, 2026, when a Lovable app works in the editor preview but the published link shows a white page, check these causes in order: an old snapshot, a JavaScript error, an unreachable backend and unfinished DNS.
The live site may be an older snapshot, because Lovable only updates it when you click Publish changes. A JavaScript error may be crashing the whole page, and the browser console will name it in red. The app may not reach its backend, because the built-in backend paused when credits ran out, a Supabase project paused, or a key changed. On a custom domain, DNS may not have finished. A 404 when you refresh an inner page usually means the app is hosted outside Lovable without a fallback rule.
This guide is for founders whose published Lovable app shows a white screen, a 404, a not-found page or a spinner that never stops. It goes symptom by symptom and shows you how to read the error yourself. Platform facts come from the official Lovable, Supabase, React, browser and hosting documentation listed under Sources.
What should you check first?
Check Lovable's status page first, then confirm the live site is published and current, and rule out an old copy in your browser with a hard refresh. Then read the first red error in the console, check the backend is awake, and check the custom domain's status.
- 01Check Lovable's status pageLovable's hosting docs point to its status page for platform-wide incidents. If there is one, wait before changing anything.
- 02Check the live site is published and currentOpen the Publish dialog; Lovable's publishing docs explain each state. A dot on the Publish button means changes are waiting to go live. Build errors need fixing means your latest changes failed to build.
- 03Rule out an old copy in your browserLovable's preview docs suggest a hard refresh: Cmd+Shift+R on a Mac or Ctrl+Shift+R on Windows, then try a private window.
- 04Read the first red error in the consoleThe next section shows how.
- 05Check the backend is awakeOn Lovable Cloud, open More, then Database, and click Wake up on the paused card if it is paused. On your own Supabase project, check the Supabase dashboard.
- 06Check the custom domainOpen Project, then Settings, then Domains. Any status other than Live comes with instructions.
How do you open the browser console in Chrome or Safari?
In Chrome, press Cmd+Option+J on a Mac or Ctrl+Shift+J on Windows; in Safari on a Mac, turn on the web developer features once, then press Option+Command+I. The console is a panel in your browser that lists the page's errors. You only need to copy one line.
- Chrome: on the broken page, press Cmd+Option+J on a Mac or Ctrl+Shift+J on Windows. Or right-click the page, choose Inspect and click the Console tab.
- Safari on a Mac: once, go to Safari, Settings, Advanced and tick Show features for web developers. Then press Option+Command+I, or choose Develop, then Show Web Inspector, and click the Console tab.
- Reload the page with the console open, so it catches errors during loading. Copy the first red line exactly, including any file name.
Lovable's debugging guide uses this exact case as its example: a blank published app, with a TypeError from the console pasted into the project chat. Lovable reads the preview's console itself, but pasting the exact error helps when it happens on your live site.
What does the error in the console mean?
Each error points to a usual cause: a red TypeError or ReferenceError means a JavaScript error crashed the app, failed requests to your backend mean it is paused or its key is invalid, and a Mixed Content warning means something on the page loads over http instead of https. The table matches each one to its fix.
| What you see | Likely cause | What to do |
|---|---|---|
| A red TypeError or ReferenceError pointing at an assets file | A JavaScript error crashed the app while drawing the page | Paste it into Lovable with the prompt below, and add an error boundary |
| Failed requests to your backend's address, the VITE_SUPABASE_URL value in .env | The backend is paused, or the key the app sends is no longer valid | Wake up or resume the backend; update the key and republish |
| A Mixed Content warning, or a blocked script | Something loads over http:// on your https:// page, and browsers block insecure scripts | Change that address to https:// |
| No error, but the page is old or missing your fix | The live site is an older snapshot, or your browser cached it | Click Publish, then Publish changes; hard refresh |
| A 404 when you refresh an inner page | The app is hosted outside Lovable without a fallback rule or server | Add the host's rewrite rule, or a host that runs the server |
| A browser security warning on your custom domain | The domain is still Setting up while its certificate is issued | Wait for the status to reach Live |
| An App temporarily unavailable page | As of November 2026, Lovable's hosting docs set a limit of 1,000 server requests per project per 10 seconds for newer apps in workspaces without a paid plan | Try again after a minute; upgrade if it happens often |
Why does the preview work when the published site does not?
The preview and the published site are different copies of your app. Lovable's preview docs describe the preview as your latest working version and the published site as a snapshot of your last publish. So "it works in preview" often means the fix is not live yet, because Lovable only updates the live site when you click Publish changes.
Some settings are fixed when the app is built. Values whose names start with VITE_, such as VITE_SUPABASE_URL, live in the project's .env file and are built into the browser code, so a changed value reaches the live site only when you publish again. Secret keys belong in More, then Settings, then Secrets, where only the backend reads them. Lovable's Secrets docs say deleting a secret a feature still uses breaks the app until you add it back.
Why does one JavaScript error leave the whole page blank?
One JavaScript error can blank the whole page because older Lovable apps, built on React and Vite, send the browser a mostly empty page and build all the content with JavaScript, as Lovable's docs explain. React's documentation is blunt: "By default, if your application throws an error during rendering, React will remove its UI from the screen." One bad line can leave visitors with nothing.
The safety net is an error boundary: a component that shows a fallback, such as a message and a reload button, instead of the part that crashed. React notes they do not catch errors in event handlers or delayed code, so they contain a crash rather than fix it. The community prompts in Lovable's debugging guide recommend them so one failing component does not crash the whole page.
Lovable's upgrade guide says TanStack Start became the default for new projects on May 13, 2026, and its hosting docs say "Apps created from May 13, 2026 use server-side rendering: every visitor and crawler receives fully rendered pages." That changes what arrives first, not whether code can fail. On those projects, Lovable's logs, under More, then Settings, then Logs, include server logs. Ask Lovable which stack your project uses.
A prompt can fix code errors and add error boundaries. It cannot change DNS at your registrar, resume your own Supabase project, add credits, or change settings on a host outside Lovable.
Why do inner pages show a 404 when you refresh?
Inner pages 404 on refresh almost always because the app is hosted outside Lovable without a fallback rule, or on a host that does not run its server part. Lovable's hosting has nothing for you to configure; if a page 404s there, ask Lovable in Chat mode whether that address still exists in the app.
An older React and Vite app is static files with one real page, index.html; the app draws every other page in the browser. Open /dashboard directly and the host looks for a file that does not exist. Lovable's deployment guide says to add a fallback rewrite so every route serves /index.html. On Netlify, that is one line in a _redirects file: /* /index.html 200. On Vercel, it is a rewrite in vercel.json from the source /(.*) to the destination /index.html.
A TanStack Start app needs a host that runs its server part; Lovable's guide says a 404 on refresh there usually means the host is not running it. Its test before switching traffic: open an inner page directly and refresh. Our guide to moving off Lovable Cloud covers self-hosting in full.
Is your custom domain finished and pointing at Lovable?
It is finished only when its status in Domains reads Live. Custom domains need a paid Lovable plan. For a domain you already own, Lovable's custom domain guide shows the exact A and TXT records to add at your DNS provider; copy them from the Domains screen rather than from an old tutorial.
Check for leftover AAAA records, which point the domain to a different IPv6 address. As of November 2026, Lovable's custom domain guide says: "If the certificate hasn’t been issued after 72 hours, contact Lovable Support."
| Status in Domains | What it means | What to do |
|---|---|---|
| Verifying or Unable to verify | Lovable cannot see your records yet | Check the A and TXT records at your DNS provider, especially the full TXT value |
| Setting up | Verified; the security certificate is being issued | Wait. The browser shows a warning instead of your site until it is Live |
| Stalled or Failed | The certificate could not be issued | Click Retry; check any CAA records |
| Offline | It was Live, but the DNS records changed | Click Recover and fix the records |
| Live | The domain is serving your project | If the page is still blank, the cause is elsewhere |
If the domain shows your old website, old A, AAAA or CNAME records are still in place. Lovable will also report the domain's state and expected records if you ask in the project chat. If sign-in fails on the new domain, see our guide to Google login not working in Lovable.
Could your backend be paused or your keys changed?
Yes, either can happen, and the site then cannot load its data. Lovable Cloud pauses its built-in database, storage and sign-in when a workspace has no credits left, Supabase pauses Free Plan projects that show low activity, and a replaced Supabase key must be updated in .env and published again.
- Lovable Cloud: when a workspace has no credits left at all, the built-in database, storage and sign-in pause shortly after. The site stays up but cannot load data; your data is kept. Add credits, then click Wake up on the paused card under More, Database if needed.
- Your own Supabase project: as of November 2026, Supabase's docs say it "pauses Free Plan projects that show low activity over a 7-day period to save server resources." Open the project in the Supabase dashboard and click Resume project. Supabase does not pause paid projects for inactivity.
- Changed keys: Supabase is retiring its legacy anon and service_role keys by the end of 2026; they stay valid until you disable them in Settings, API Keys. The browser key is built into your published code, so after replacing it, update .env and publish again.
How do you stop a blank page reaching customers again?
Check the live site in a private window, on a computer and a phone, after every publish, keep an error boundary around each page, and add error tracking that alerts you when visitors hit errors. If a publish still breaks something, revert to the last good version in Lovable's History panel and republish.
- After every publish, open the live site in a private window, on a computer and a phone, including one inner page.
- Keep an error boundary around each page, so a crash shows a message, not white space.
- Lovable's History panel marks the live version with a Published badge, so you can revert and republish if a publish broke something.
- On Pro plans and above, project monitoring, in beta, checks recent visitor errors on a schedule. It does not replace testing.
- Add error tracking that alerts you when visitors hit errors. That is part of observability.
If the site loads for you but Google shows it blank or does not list it, see our guide to Lovable SEO. The wider launch list is in taking a Lovable app to production, and the first weeks after it in our Lovable post-launch checklist.
When should you stop prompting and get help?
Get help when paying customers cannot use the app and none of the causes above fits, when the blank page returns after every publish, when the console error points into code nobody can explain, when deploys outside Lovable keep failing, or when you think a key leaked.
- Paying customers cannot use the app, and none of the causes above fits.
- The blank page comes back after every publish.
- The console error points into code nobody can explain.
- The app is hosted outside Lovable and deploys keep failing.
- You think a key leaked. See our guide to an exposed Lovable API key.
Our vibe-coding rescue service finds the real cause before changing anything. To see where your app stands first, take the free production-readiness check.
Plans and what they include are on our pricing page.
Sources
All checked on October 10, 2026. Lovable's hosting and custom domain pages, Supabase Project Pausing and React's Component page were re-checked on November 23, 2026. Lovable's menu paths were re-checked on October 23, 2026. We review this page every 30 days.
- Lovable documentation: Publish your Lovable project, on snapshots, Publish changes, build errors and publish failures (docs.lovable.dev/features/publish).
- Lovable documentation: How Lovable hosts your app, on server-side rendering for apps created from May 13, 2026, the status page, the Free plan request limit and paused backends (docs.lovable.dev/features/hosting).
- Lovable documentation: Upgrade a project to TanStack Start, on the default date and what server-side rendering means (docs.lovable.dev/features/upgrade-to-tanstack-start).
- Lovable documentation: Preview and test your app, on the preview versus the published site and hard refresh (docs.lovable.dev/features/projects/preview).
- Lovable documentation: Debug and improve your app, on pasting console errors from the published site and error boundaries (docs.lovable.dev/prompting/prompting-debugging).
- Lovable documentation: Secrets, on secrets versus VITE_ values and the .env file, menu path re-checked October 23, 2026 (docs.lovable.dev/features/secrets).
- Lovable documentation: Set up a custom domain, on DNS records, statuses, the 72-hour certificate note and troubleshooting, re-checked November 23, 2026 (docs.lovable.dev/features/custom-domain).
- Lovable documentation: Deploying and hosting outside Lovable, on the two stacks, the index.html fallback and testing before switching traffic (docs.lovable.dev/tips-tricks/external-deployment-hosting).
- Lovable documentation: Credits and usage, on backends pausing at zero credits (docs.lovable.dev/introduction/credits-and-usage).
- Lovable documentation: Pause, resume, or remove your project's database, on the paused card and Wake up under More, Database, checked October 23, 2026 (docs.lovable.dev/features/database-pause-remove).
- Lovable documentation: Logs, and Revert and restore your project with version history, menu paths re-checked October 23, 2026 (docs.lovable.dev/features/logs; docs.lovable.dev/features/projects/history).
- Lovable documentation: Project monitoring, on visitor error checks and their limits (docs.lovable.dev/features/project-monitoring).
- Supabase documentation: Project Pausing, and API keys (supabase.com/docs/guides/platform/free-project-pausing; supabase.com/docs/guides/getting-started/api-keys).
- React documentation: Component, on catching rendering errors with an error boundary (react.dev/reference/react/Component).
- Google: Open Chrome DevTools (developer.chrome.com/docs/devtools/open). WebKit: Enabling Web Inspector, for Safari (webkit.org/web-inspector/enabling-web-inspector).
- Mozilla: MDN Web Docs, Mixed content (developer.mozilla.org/en-US/docs/Web/Security/Mixed_content).
- Netlify documentation: Rewrites and proxies, on single-page apps (docs.netlify.com/routing/redirects/rewrites-proxies). Vercel documentation: Vite on Vercel, on SPA rewrites (vercel.com/docs/frameworks/frontend/vite).
Common questions
Why is my Lovable app blank after publishing?
The most common causes are a JavaScript error that crashes the page, a live site that is an older snapshot, a backend that is paused, or a custom domain that has not finished setting up. Open the browser console on the live page and read the first red error. It usually points straight at the cause.
Why does my Lovable app show a 404 when I refresh a page?
Usually because the app is hosted outside Lovable. An older React and Vite app needs a fallback rule so every address serves index.html, such as a _redirects file on Netlify or a vercel.json rewrite on Vercel. A newer TanStack Start app needs a host that runs its server part.
Why doesn't my published Lovable site show my latest changes?
Lovable's published site is a snapshot of your last publish, and edits are not pushed live automatically. Open the Publish dialog and click Publish changes. A dot on the Publish button tells you there are changes waiting.
How long does a custom domain take to work in Lovable?
Copy the records from the Domains screen and wait for verification. After verification, the domain shows Setting up while its certificate is issued, and the browser shows a warning until the status is Live. Lovable's custom domain docs say, as of November 2026, to contact support if the certificate has not been issued after 72 hours.
Does Lovable use server-side rendering now?
For newer apps, yes. As of November 2026, Lovable's docs say apps created from May 13, 2026, use TanStack Start with server-side rendering. Older React and Vite apps can be upgraded from project settings or by asking Lovable.
More on this: Lovable mastery & prompting · Lovable app not working in production? How to make it production-ready
Built something in Lovable you want people to rely on?
We are the engineers who take it the rest of the way — secured, tested, released and supported.


