📄 SKILL.md

← Vault

name: lovable-vps-blank-screen-debug

description: Debug "tela preta" (blank screen) on Lovable/TanStack Start apps deployed to VPS — client-side first, server-side second.


Lovable/TanStack Start VPS — Tela Preta (Blank Screen) Debug

Trigger

User reports "tela preta", "tela branca", or blank/empty page on a Lovable-deployed or TanStack Start app hosted on VPS.

Symptom

Page loads HTML (correct title, CSS, fonts), but body renders empty or shows streaming SSR markers () with no visible content.

Debug Sequence (in order — do NOT skip to server forensics first)

Step 1: Browser Console (F12) — ALWAYS start here

Ask the user to:

1. Open the page

2. Press F12 → Console tab

3. Report any red/yellow errors

This takes 30 seconds and rules out 90% of causes (extensions, cache, JS disabled).

Step 2: Hard refresh

Ctrl+Shift+R (or Cmd+Shift+R) to clear browser cache and reload assets.

Step 3: Incognito/Private window

Open in incognito mode — bypasses extensions and stale cache.

Step 4: Different browser

Chrome vs Firefox vs Edge — isolates browser-specific issues.

Step 5: Only after Steps 1-4 are clean, investigate server-side:

Verification

After fixing: user confirms page renders correctly in normal browser, incognito, and different browser.