Errors are a normal part of building. The good news: Fabricate can read its own errors and fix them. This page explains the Fix with Fabricate flow and catalogs the errors you’re most likely to see.Documentation Index
Fetch the complete documentation index at: https://fabricate.build/docs/llms.txt
Use this file to discover all available pages before exploring further.
The Fix with Fabricate flow
When your running app hits an error in the live preview, Fabricate can read that error and resolve it.Fabricate reads the error
It sees the error message, stack trace, and current code — the full context needed to diagnose it.
Build errors
Errors that surface while Fabricate is generating code.A build step failed or didn't finish
A build step failed or didn't finish
Fabricate usually detects a failed step and retries or corrects it on its own. If a build ends incomplete, send a short follow-up — “the last change didn’t finish, please complete it” — so it can pick up where it left off.
TypeScript or type errors
TypeScript or type errors
Generated apps use TypeScript, so a type mismatch can occasionally appear. Fabricate sees these and typically fixes them automatically. If one lingers, point at it: “There’s a type error on the tasks page — fix it.”
The build succeeded but a feature is missing
The build succeeded but a feature is missing
The build completed, but part of your request wasn’t covered. Reply naming the gap: “The build finished, but the delete button isn’t on the task cards yet — please add it.”
Runtime errors
Errors that appear in the live preview while the app runs. These are what Fix with Fabricate is built for.Blank or white screen
Blank or white screen
A blank preview usually means a JavaScript error stopped the app from rendering. Use Fix with Fabricate, or describe it: “The home page renders blank — find the error and fix it.”
'Cannot read properties of undefined'
'Cannot read properties of undefined'
The app tried to use data that wasn’t loaded yet or doesn’t exist. Fabricate fixes this by handling the loading and empty states. Use Fix with Fabricate, or say “Add proper loading and empty-state handling to the page that’s erroring.”
Data isn't loading or an API call fails
Data isn't loading or an API call fails
A page request to the backend is failing — often a route, query, or auth issue. Describe it: “The projects list shows an error instead of loading — check the API route and fix it.” Fabricate can trace the request from frontend to API to database.
A button or form does nothing
A button or form does nothing
Login or signup isn't working
Login or signup isn't working
Generated apps include built-in JWT authentication. If a flow misbehaves, describe the exact behavior: “After I sign up I’m not logged in automatically — fix it so signup logs the user straight in.”
Styles look broken or unstyled
Styles look broken or unstyled
If the app renders but looks plain or misaligned, a styling issue slipped in. Screenshot it from the preview and attach it — see Working with Images — then ask Fabricate to fix the affected page.
Getting the best fix
Use Fix with Fabricate for runtime errors
It’s the fastest path — Fabricate already has the error and code in context.
Describe behavior precisely for everything else
Say what you did, what you expected, and what happened instead.
Revert if a fix makes things worse
Roll back with version history and try a clearer prompt.
Related
Troubleshooting
Solutions for non-error issues like stuck builds.
Build Mode
Understand how changes and fixes are generated.