Skip to content
VibecodeZero

Bolt preview not loading: blank screen or stuck on 'Your preview will appear here'

Updated First published

On this page (4)
  1. Symptom
  2. Cause
  3. Prompt to paste
  4. How not to burn credits

Symptom

In Bolt, the preview area stays blank, white or gray, or it keeps showing "Your preview will appear here" and the app never loads. Sometimes an error mentions Supabase, memory or the WebContainer.

Cause

Bolt runs your project inside your browser, in something called a WebContainer: the browser runtime made by StackBlitz that powers Bolt projects. So when the preview won’t load, the cause can be in the app’s code, in a setting the app is missing, or in your own browser and device.

Bolt’s help center treats two cases separately. A blank preview (white, gray or empty) can come from an error in the app or a missing setting. A preview stuck on “Your preview will appear here” means the project never loaded at all. You don’t need to understand the error messages. What helps is copying them exactly and pasting them into Bolt. If it’s the chat that is stuck, not the preview, see Bolt not responding or stuck after your prompt.

Every step below comes from the Bolt Help Center pages on preview issues, Code view and supported browsers, checked again on November 1, 2026. Bolt can change its screens, so check those pages if something looks different.

First, check Bolt’s status page

Open status.bolt.new and see if there’s an active incident. If there is, the problem isn’t your project. Wait for it to be resolved, then check your project again before trying anything else.

Blank, white or gray preview

Try these in order:

  1. Hard refresh the page: Cmd+Shift+R on a Mac, Ctrl+Shift+R on Windows.
  2. Open the project in a new tab.
  3. Ask Bolt once: “The preview is not showing, fix this.” Bolt’s docs say that if Bolt can fix it from this prompt, it should work on the first try. Sending it again is unlikely to help. If you’ve already gone back and forth several times, stop and read AI agent stuck in a loop and burning credits.

If the screen is still white, there may be an error in the app that Bolt can’t detect on its own. Open the browser console (Cmd+Option+J on a Mac, Ctrl+Shift+I on Windows), refresh so the white screen happens again, copy the error messages and paste them into Bolt with the prompt on this page.

You can also use Plan mode: ask Bolt to review the project for runtime errors, missing dependencies or configuration issues, explain what it finds and suggest a fix. If the plan makes sense, click the Implement plan button.

To see errors that stop the app from being built, open Code view (the code icon), go to the Terminal at the bottom, type npm run build and press Enter. Commands you run there don’t use tokens. Copy any errors into the chat. To go back to the preview, click the eye icon.

Missing environment variables

Environment variables are settings the app needs to run, such as the address of a database. When they’re missing, the result is often a white screen. Ask Bolt to list every environment variable the app requires and where to find each value. You add them in a .env file or in the Secrets menu. Bolt’s docs call this a more advanced task.

Supabase URL errors

If the console shows errors about a Supabase URL, the project may expect a database connection that isn’t set up yet. If you already have a Supabase project, connect it from Advanced database settings. If you’re connected to a Bolt database and still see Supabase URL errors, contact Bolt support or ask on Bolt’s Discord.

Stuck on “Your preview will appear here”

This is different from a blank preview: the project never loads. Bolt’s help center says it’s usually a port conflict or an error stopping the preview.

  1. Open Code view.
  2. At the bottom you’ll see three tabs: Bolt, Publish Output and Terminal. The Bolt tab is open by default, and it’s the one that shows what Bolt runs to keep your app going. If you see only the tab names and no text, click the arrow icon on the right side of the tabs to open the panel.
  3. Look for red error text, copy it, and paste it into the chat with: “The preview isn’t loading. Here’s the output from the terminal:” followed by the text.

Using Safari or a phone

Bolt works in Safari on a Mac, with differences that change how the preview behaves:

  • The preview is built on Bolt’s servers, not in your browser, so you may see “Building a hosted preview of your app” for a moment. This hosted preview isn’t your published site.
  • A project created in Chrome doesn’t show its preview on its own in Safari. Ask Bolt: “Load the preview” or “Show my project’s preview”.
  • The terminal isn’t available, and Code view is read-only. To copy errors from the terminal, open the project in Chrome or another Chromium-based browser on a computer.

On a phone or tablet you can chat with Bolt and see the preview, but Code view is desktop-only.

Out of memory error

The WebContainer relies on your own device’s memory. To free some up, close other tabs and apps, close other Bolt or StackBlitz projects, refresh the page and, if needed, restart your device. Using fewer browser extensions also helps.

WebContainer startup error

Use Chrome or another Chromium-based browser. Then clear the browser cache, turn off extensions for a moment (especially ad blockers), turn off any VPN, or try Chrome’s Guest mode.

Still stuck?

Contact Bolt support. If the preview works but your published Bolt site is blank, see Bolt preview works but the deployed site is blank. If your app shows a blank screen in another tool, see My app shows a blank screen. Once the preview loads, go through How to test your app without coding before you publish. To understand what each prompt costs, read Bolt tokens explained.

Prompt to paste

Copy the text below, replace what’s in brackets and send it in the chat of the tool you’re using.

Paste into the AI
The preview in Bolt is not loading.
This is the full error I copied from [the browser console / the Terminal at the bottom of Code view]:
[paste the whole error text]

Before changing anything, explain in plain English what this error means and what is causing it. Then fix only that error, without changing anything else, and tell me how to check that it worked.

How not to burn credits

  • Paste the exact error text in one message. Bolt's help center says the exact error helps far more than "the preview isn't working".
  • Don't repeat the same prompt. Bolt's docs say that if "The preview is not showing, fix this." can fix the problem, it should work on the first try, and retrying it is unlikely to help.
  • Use Plan mode to find the cause before changing code. Bolt's docs say Plan Mode helps save tokens by avoiding unnecessary rework. When the plan makes sense, click Implement plan.
  • Try the fixes that don't involve prompting first. Check the status page, do a hard refresh, open the project in a new tab, free up memory or switch browser. Commands you run in the Terminal in Code view don't use tokens either.
  • On the free plan there's a daily cap of 300K tokens, separate from the 1M monthly cap, and daily tokens don't carry over. If you hit the daily limit, you can still edit directly in Code view, which doesn't use tokens.

How Lovable counts credits, and what the free plan includes: Lovable credits explained.

Questions people ask

Why is my Bolt preview blank or white?

Bolt's help center says a white screen can mean a runtime error that Bolt can't detect on its own. Open the browser console, refresh to make the white screen happen again, copy the error messages and paste them into Bolt. Missing environment variables are another common cause.

What does it mean when it's stuck on "Your preview will appear here"?

The project never loads. Bolt's help center says this is usually a port conflict or an error that stops the preview. Open Code view, look for red error text in the tabs at the bottom, copy it and paste it into the chat.

Where do I find the error to paste?

Two places. The browser console: Cmd+Option+J on a Mac, Ctrl+Shift+I on Windows. Or the tabs at the bottom of Code view in Bolt: Bolt, Publish Output and Terminal. If you only see the tab names, click the arrow on the right of the tabs to open the panel.

How do I fix an out of memory error in Bolt?

Bolt projects run in a WebContainer, a runtime inside your browser that uses your own device's memory. Close other tabs and apps, close other Bolt or StackBlitz projects, refresh, and restart the device if needed. Fewer browser extensions also help.

Which browser should I use for Bolt?

On a computer, Bolt works in Chrome and other Chromium-based browsers, such as Edge, Brave, Vivaldi and Opera, and also in Safari with some differences. For WebContainer startup errors, Bolt's help center recommends Chrome or another Chromium-based browser, clearing the cache, turning off extensions (especially ad blockers) and VPNs for a moment, or trying Chrome's Guest mode.

Why doesn't my Bolt preview load in Safari?

In Safari, Bolt builds a hosted preview on its servers instead of running the app in your browser, so you may see "Building a hosted preview of your app" for a moment. If you created the project in Chrome and then open it in Safari, Bolt's docs say the preview doesn't load on its own: ask Bolt "Load the preview" or "Show my project's preview". The terminal isn't available in Safari, so use a Chromium-based browser to copy terminal errors.

New guides by email. An email when we publish a new guide, error fix or chapter, in plain English. Subscribe