How do I solve this problem? Please help me. Every time I create something new, it doesn’t show me a preview.
Hi @yitataf497,
welcome. Try to us a bigger model. The 1.5 Flash Model is quite small and does not provide good/usable code everytime.
Use the Gemini 2.0 Flash.
If you get errors in console, you always can just copy them and past it in the chat, so the AI can fix it. This is something you will have to do often, even with bigger models.
Thank you very much but it’s not working.
Now a new problem is appearing. I have tried the way you mentioned in other posts to solve these problems but it is not working.
Thats not a bolt problem itself, more with the application you try to build.
Try to build a simple todo app with react and tailwind.
With you current problems, you have to go on and paste the errors in the chat, so the AI can fix it. If this does not help, you have to analyse the code yourself and tell the AI what to do.
We are not at a point where the AI 100% is able to fix all errors and solves every problem itself. At some point there is need for the developer to investigate himself and/or try using other AI/Models to help.
I personally use ChatCPT o1/o1-mini to analyse and get solutions. Then I pass it to bolt and tell it to fix with this suggestions.
At the end its try and error.
Hi @yitataf497, I also face these issues alot, since these models are writing the entire codebase from scratch and has limited context. its very easy make small mistakes during the configuration files like vite.config, package.json, or imports
like @leex279 said we are still not 100% AI driven development yet, and will still need some developer guidance.
but we are pushing some updates to capture the errors you are getting in the app and provide you an option to send that back to AI with one click with these 2 PR
PR: 797
PR: 856
and also adding a automatic code template import so that it does not have to write every file on its own
PR: 867
these changes will be available on the next release to stable.
and I believe these will make the process a lot easier