Troubleshooting
Common issues and solutions.
Preview Not Loading
Check the Terminal
Look for red error messages. Common issues:
- Syntax errors in code
- Missing imports
- Invalid JSX
Try Reload
Click the reload button in the preview panel.
Clear and Restart
If nothing works, start a new project.
AI Not Responding
Check Your Credits
Free tier: 50 messages/day. Check Settings → Usage.
Simplify Your Prompt
Very complex prompts may timeout. Break into smaller steps.
Code Not Updating
Save Your Changes
Press Cmd/Ctrl + S after editing code.
Check for Errors
Red underlines in the editor indicate problems.
Slow Performance
In Preview
WebContainer has limited resources. Export and run locally for better performance.
Complex Games
- Reduce particle counts
- Use simpler graphics
- Optimize game loops
