Hi everyone, This is my first post here I have been trying to use Claude 3.5 to bring some of my designs to life without knowing how to code although ive burned $40 worth of credits with half of them being me asking to fix errors that dont end up being fixed.
- Whenever I add something to my main page random components are removed on my second page and when I ask for it to be added back im followed by many errors such as
Error occurred at /agents
Port: 5173
Stack trace:
ReferenceError: agents is not defined
at Agents (src/pages/Agents.jsx:180:147)
at renderWithHooks (node_modules/.vite/deps/chunk-OK4P3QOP.js?v=d0df7233:11566:26)
at mountIndeterminateComponent (node_modules/.vite/deps/chunk-OK4P3QOP.js?v=d0df7233:14944:21)
at beginWork (node_modules/.vite/deps/chunk-OK4P3QOP.js?v=d0df7233:15932:22)
at beginWork$1 (node_modules/.vite/deps/chunk-OK4P3QOP.js?v=d0df7233:19779:22)
at performUnitOfWork (node_modules/.vite/deps/chunk-OK4P3QOP.js?v=d0df7233:19224:20)
at workLoopSync (node_modules/.vite/deps/chunk-OK4P3QOP.js?v=d0df7233:19163:13)
at renderRootSync (node_modules/.vite/deps/chunk-OK4P3QOP.js?v=d0df7233:19142:15)
at recoverFromConcurrentError (node_modules/.vite/deps/chunk-OK4P3QOP.js?v=d0df7233:18762:28)
at performSyncWorkOnRoot (node_modules/.vite/deps/chunk-OK4P3QOP.js?v=d0df7233:18905:28)
and some other issues but I reverted and forgot to save them so I have lost them, im sure I can reply to this thread tomorrow with it but I am going to sleep after typing this.
Ive been trying to solve this for many hours and can’t seem to so I came to hear.
Next issue im having is asking for a component to be added and it is added but all the formatting is getting removed and its a white page looking thing.
Another thing I cannot figure out is how to use custom images I asked for a company image to be added to a moving banner and for some reason no matter what I did It was not working.
Thank you all so much and im exited to see if there’s any fixes to this awesome program!
Welcome @vinceja,
it´s not that easy to say do this and this and it works. It highly depends on several factors, what the output is:
-
Prompting (How good is your requirement, etc.)
=> try using experimental prompt in Settings
=> Use “Enhance Prompt” Button before sending
=> See the FAQ: Frequently Asked Questions (FAQ) - bolt.diy Docs
-
Model
=> Depending on the Model you get other output. Also for Claude 3.5 Sonnet is an old and a new Model available. I´ve read some user topics, where is mentioned that the new Model not performing as good with bolt, as the old one
=> The System Prompt not working perfect/good with each model. In the future bolt.diy will provide multiple prompts / prompt library to cover this and maybe also allow to add own system instructions in the settings
-
Starter Template
=> When starting with a good base, you get way better results, then starting from scratch. Consider to use the Starter Template Buttons at the startpage and you can also directly clone git-projects you find online with appending the gitrepo to the bolt.diy url:
http://localhost:5173/git?url=https://github.com/YZarytskyi/react-voice-visualizer.git
-
Images
=> As today images not working within bolt, expect you are using SVGs. (@aliasfox / @thecodacus correct me please if this is maybe already working or working soon)
Instead of burning much credits, I personally would recommend just switching to Google Gemini 2.0 Flash, as it is free to use and maybe switch to another Model, if you come to a point where the current model cannot fix it, despite you asking again and again.
Also what I do then is, go to ChatGPT o1 (I´ve got PLUS abo) and ask it for specific solutions to the error => paste the provided solution to bolt and often it can fix it then based on the provided solution.
Hope this helps a bit. Let me know if I missed something
Good Morning, thank you for the responses
Firstly I would really like to add a map of India to my page that has a pinging of certain coordinated but for some reason I cannot figure out how to do this it seems to just “break” the entire site every time I tried uploading it with js asking it to make its own etc, how would you go about this
- I also would love to be able to add privy (privy.io) I will link the quick start guide below. Ive tried giving it the quick start and the entire site “breaks” just like on the india map id like to have added.
Thank you for the speedy response ill be taking into account everything you had mentioned
your welcome,
can you share your chat-history with us. it´s hard to really understand what exactly you are trying to do without seeing it.