Preview Issues
Preview Not Loading
Symptoms: White screen, infinite loading, or error message Solutions:- Wait a moment - Preview can take a few seconds to start
- Send a message - Any message restarts the preview
- Check for errors - Look at the error message in chat
- Refresh - Click the refresh button in preview panel
- Check internet - Ensure stable connection
Preview Stopped
Symptom: Preview says “Sandbox stopped” or similar Cause: Preview auto-stops after 15 minutes of inactivity Solution: Send any message or click refresh to restartChanges Not Showing
Symptoms: Made changes but preview looks the same Solutions:- Wait for hot reload (few seconds)
- Click refresh in preview
- Hard refresh browser (Cmd/Ctrl + Shift + R)
- Check for errors that might prevent rendering
Build Errors
Syntax Errors
Symptom: Error mentioning unexpected token, syntax, or parsing Solution:Missing Dependencies
Symptom: “Cannot find module” or “Module not found” Solution:Type Errors
Symptom: TypeScript errors about types Solution:Database Issues
Connection Failed
Symptoms: “Failed to connect to database”, “Supabase error” Solutions:- Check Supabase project is active (not paused)
- Verify environment variables are set
- Check your Supabase connection in settings
Queries Return Empty
Symptom: Data exists but queries return empty array Causes:- RLS policies blocking access
- Wrong table name
- Query filters too restrictive
Auth Not Working
Symptoms: Can’t sign up, login fails, session lost Solutions:- Check Supabase Auth settings
- Verify redirect URLs are configured
- Check for errors in browser console
Deployment Issues
Build Failed on Vercel
Symptom: Publish fails with build error Solutions:- Check the build log for specific error
- Share error message with AI
- Common fixes: missing dependencies, type errors
Environment Variables Missing
Symptom: Works in preview but fails in production Cause: Environment variables not set for production Solution:- Go to Settings > Environment
- Add all required variables
- Set them for Production scope
- Redeploy
Domain Not Working
Symptom: Custom domain shows error or old site Solutions:- Verify DNS records are correct
- Wait for propagation (up to 48 hours)
- Check SSL certificate status
- Ensure domain is verified in settings
Visual Issues
Layout Broken
Symptom: Elements overlapping, wrong positioning Solution:Not Responsive
Symptom: Looks bad on mobile Solution:Styling Not Applied
Symptom: CSS changes not appearing Solutions:- Check for CSS conflicts
- Verify class names are correct
- Check Tailwind config if using custom values
Performance Issues
Page Loading Slowly
Solutions:- Optimize images
- Add loading states
- Use server components where possible
- Lazy load non-critical content
Too Many Re-renders
Symptom: Page feels sluggish, constant updates Solution:Quick Fixes
| Problem | Quick Fix |
|---|---|
| Preview stuck | Send any message to restart |
| Build error | Share error message with AI |
| Styling broken | Clear browser cache, refresh |
| Auth not working | Check Supabase dashboard |
| Deploy failed | Check build logs in Vercel |
| Data not loading | Check RLS policies |
| Changes lost | Use version history to restore |
When Nothing Works
Roll Back
- Go to version history
- Find a working version
- Restore it
- Try a different approach
Start Fresh
For severe issues:- Create a new app
- Use a template as base
- Re-implement features carefully
- Test after each change
Get Help
- Discord - Community support
- Email - [email protected]
- Docs - Search for specific error
Error Reference
Detailed guide to specific error messages

