Debuggingbeginner
Fix a Blank Page
A diagnostic prompt for a page that renders nothing at all.
When to use it
Emergency debugging
Lovable Prompt
A page in my project renders completely blank. Help me diagnose it systematically. Here is what I know: - The page is [URL OR ROUTE]. - The browser console shows: [PASTE THE FIRST ERROR, NOT THE LAST]. - It [does / does not] happen on other pages. - It started after [WHAT CHANGED]. Check in this order: 1. Is there a JavaScript error preventing render? Read the first error. 2. Is a data request failing or returning nothing, with no empty state to handle it? 3. Is the route defined and matching what the navigation links point to? 4. Is something referenced before it exists, or imported from a file that does not export it? Explain what you found before fixing it.
Why it works
It orders the checks by likelihood and asks for an explanation, which prevents blind changes.
Guides that use this prompt
TroubleshootingTroubleshooting
How to Fix Row Level Security Errors
A diagnostic order for permission errors: privileges, policy existence, policy logic, then session state.
intermediate 9 minChecked 24 Aug 2026
TutorialTroubleshooting
How to Debug a Lovable Project
A repeatable debugging loop: reproduce, isolate, read the actual error, change one thing, verify.
beginner 9 minChecked 24 Aug 2026