Troubleshooting
Fixes for common problems with the preview, the sandbox, build errors, sign-in, the database and publishing.
Your project runs in a cloud sandbox: a dev server for a React app with TypeScript and Tailwind CSS. Most problems show up in the preview, the terminal or the console. Start with the section that matches what you see.
The preview does not load
Build and code errors
Sign-in problems
Database problems
Publishing problems
General tips
- Read the error first. The terminal and the console usually say what is wrong.
- One fix at a time. Check the result before the next change.
- Ask before you change. Switch to Ask mode and describe the problem: the AI reads your code and explains without editing. See Chat modes.
Still stuck?
Go back to the last version that worked, then ask again with a clearer prompt. See Best practices.