Stuck on an Error
Building with Lumi is designed to be fast and intuitive, but like any powerful tool, it can sometimes encounter issues. You might find your code doesn’t run as intended, or the AI misinterprets your instructions, leading to unexpected behavior. Here’s a step-by-step guide to help you resolve these problems and get back to building:Use the 'Attempt fix' Button First
Diagnose Unexpected Behavior
- Review Your Prompt: Double-check your original instructions to ensure they were clear.
- Isolate the Issue: Examine individual components and logic to pinpoint where things went wrong.
- Provide Visual Context: Use screenshots or recordings to show the AI exactly what isn’t working.
Write More Effective Prompts
- Project Overview: Briefly describe what you are building.
- Page Structure: List the key pages and components.
- Navigation Logic: Explain the intended user flow.
- Visual Aids: Upload wireframes or mockups.
- Implementation Steps: Outline the desired build order.
Build in a Logical Order
- Create the main layout and pages.
- Connect your backend or database.
- Set up user authentication and roles.
- Plan the logic for each feature.
- Prompt Lumi to implement features one by one.
Use Plan Mode for Guidance
- Ask Lumi to analyze the current state of your project.
- Request a summary of the solutions already attempted.
- Prompt for new strategies to tackle persistent problems.
Apply Advanced Tactics for Tough Bugs
- Be Specific: Clearly describe the bug and what you expect to happen.
- Use Visuals: Screenshots or screen recordings are incredibly helpful for illustrating complex problems.
- Ask for Alternatives: Directly ask, “What else can we try?” to generate new ideas.
- Revert: Use Revert on an earlier message to restore your project to a previously working version, then rebuild the problematic feature step-by-step.
Stripe and Other Third-Party Integrations in Remixed/Forked Projects
Remix and Fork are designed to create a complete copy of a project’s code, environment variables, database structure, and other information. For projects integrated with third-party platforms like Stripe, we cannot create new third-party account projects on the user’s behalf. Attempting to do so may result in data configuration conflicts between the original project and the forked or remixed project. Therefore, users must perform manual changes themselves.- If a user has integrated third-party platforms like Stripe in the original project, they need to prompt Lumi to update the Secret Key and reconfigure products, webhooks, etc., in the forked and remixed projects.
- For integrations with general third-party services, users should prompt Lumi to update the relevant keys in the forked and remixed projects.
Common Troubleshooting Areas
Most issues you’ll encounter will fall into one of the following categories:- UI and Layout Glitches
- API or Backend Errors
- Prompt Misinterpretations
- AI Unresponsiveness or Malfunctions
- Platform or Integration Failures
General issue
How can I get a fast diagnosis for a problem?
How can I get a fast diagnosis for a problem?
What should I do for UI or layout problems?
What should I do for UI or layout problems?
- Inspect the component hierarchy and review the applied styles.
- Use screenshots to clearly illustrate any visual glitches.
- Prompt Lumi directly: “This element is misaligned. Please fix it.”
What if I'm completely stuck on an error?
What if I'm completely stuck on an error?
- Try this prompt: “Let’s take a step back. Analyze the error and propose an alternative solution.”
- Break the task down into smaller, more manageable steps.
- If errors persist, use the Revert button on an earlier message to roll back to a working version.
What should I do if the preview won't load or stays on 'Spinning up preview...'?
What should I do if the preview won't load or stays on 'Spinning up preview...'?
Lumi is heading in the wrong direction while it works. What can I do?
Lumi is heading in the wrong direction while it works. What can I do?
AI Reliability
How can I avoid AI mistakes when prompt engineering?
How can I avoid AI mistakes when prompt engineering?
- Write clear, well-structured prompts.
- Employ reverse meta prompting techniques.
- Test prompts in Plan Mode before implementing major changes.
What should I do if the AI is not responding?
What should I do if the AI is not responding?
How can I break a persistent fix error loop?
How can I break a persistent fix error loop?
What should I do if a refactor causes major issues?
What should I do if a refactor causes major issues?
What if the AI enters an error loop, hallucinates, or uses broken logic?
What if the AI enters an error loop, hallucinates, or uses broken logic?
What can I do if the AI fails to implement my requested changes?
What can I do if the AI fails to implement my requested changes?
What if Plan Mode or Build Mode isn't responding or gives an incomplete answer?
What if Plan Mode or Build Mode isn't responding or gives an incomplete answer?
What should I do about unexpected crashes, errors, or loops?
What should I do about unexpected crashes, errors, or loops?
- Avoid retrying the exact same prompt; instead, simplify or rephrase it.
- Ask the AI: “What solutions have we already attempted?”
- Restore a previous working version of your project.
Credits
Lumi stopped in the middle of a task and said I ran out of credits. What now?
Lumi stopped in the middle of a task and said I ran out of credits. What now?
What is the difference between Chat credits and Resource points?
What is the difference between Chat credits and Resource points?
Publishing and Domains
My published site doesn't show my latest changes.
My published site doesn't show my latest changes.
My custom domain stays 'Pending' or shows 'Failed'.
My custom domain stays 'Pending' or shows 'Failed'.
- Make sure the project has been published. A custom domain can only be added after the first publish.
- Check that the host record in your DNS provider exactly matches the record shown on the Domains page in your workspace.
- Click Check Status to refresh. DNS changes can take up to 48 hours to take effect.
- If it still fails, click Retry, or delete the domain and add it again. You can also contact the team through Support.
- Custom domains require a paid plan. If your subscription has ended, resubscribe to reactivate the domain.
Site Features
Emails from my site aren't reaching some people.
Emails from my site aren't reaching some people.
A new login method doesn't appear on my site's sign-in page.
A new login method doesn't appear on my site's sign-in page.