Troubleshooting and safety
Troubleshooting
Step-by-step fixes for build errors, blank previews, edge function failures, and other common issues.
Even with AI assistance, things occasionally go sideways. This page covers the most common issues and how to resolve them quickly.
Resolving build errors
- Click "Try to Fix" first; the AI scans logs and attempts an automatic repair.
- If that fails, restore the checkpoint from just before the issue and re-prompt with a clearer, more specific request.
- Use Plan mode: "Can you outline the steps for this feature?" → review the plan → "Now build it step by step."
Recommended build order
1) Create layout and pages. 2) Connect your database. 3) Set up authentication and roles. 4) Plan feature logic. 5) Implement features one at a time.