Known Issues
During the development process, errors may come up as the AI can make mistakes in the code it is writing or an error occurs in the development environment that your preview site is running on. Some of these are known issues, some are not issues we are not yet aware of. We are continuously working to improve the accuracy and stability of its outputs. Until then, we document the known issues here to provide means to resolve or workaround them.
Broken Preview
A broken preview can occur for various reasons.
Preview is out of sync with the browser
This can happen in the following situations:
- When you first enter a project and the project has not completely initialized
- When a coding change has been made
Try the following:
- Click the refresh button to refresh the preview
- Hard refresh the browser page with Ctrl-R or Cmd-R
Preview does not change despite changes having been made
Try the following:
- The AI can hallucinate what was done. Check the code written to see if it actually took any action at all. Sometimes, there is no code written at all. When that happens, repeat your instructions and also inform it that it previously did not complete its task.
- Close all windows for that project. Wait 1 minute and then reload the project by selecting it from the Projects screen. This allows the preview server to restart which may resolve some of the issues being faced
Resolving a broken preview
Other times, a preview is broken because the AI has written code that breaks the page. In this case, you can ask the AI to try and fix it or you can revert to a previous state and try again. We usually recommend trying the AI to try and fix the problem but if it fails to do so after 2 or 3 times, it will be better to revert to an earlier state and try your prompt again.
When retrying prompts, try to ask it to take smaller steps instead of making big iterations.