Copying, creating and editing files

Hi, I have just installed bolt.diy (windows 11), I am having a few issues

If I import a project that had been exported from bolt.new the LLM’s seem to not respond

I have also found that if I try to manually edit a file in the code editor and click save I get a message “Failed to update file content”

And I can’t seem to create/delete or drag files into the file browser like I do in bolt.new - is this expected?

Hoping someone can help

thanks

Welcome @John_Bond,

editing and saving should not give an error, but manual editing is not saved with the chat history, so on next prompt its gone / overritten by the LLM anyway. So just for quick tests useable at the moment, unless you do not export it and reimport.

Uploading file via drag&drop is also no feature at the moment of bolt.diy. (didnt know bolt.new has it :slight_smile: ) => you can open a features discussion/topic here, if you think thats useful needed: [bolt.diy] New Features Discussion

Regarding the save error => maybe poste a few screenshots to let us see better what it looks like / you working on.

Thanks for the reply. I think I’m seeing different behaviours depending on whether the project was started from scratch by the llm, vs if I import a folder, vs if I import a repository, vs if I go back to a previous project

Importing a repo and then editing a file gave me the above “Failed to update file content” error which popped up on the bottom right of the screen

But importing a folder caused me to get no responses from the LLM. In powershell I can see errors like this (below I tried with Deepseek and Claude):

INFO stream-text Sending llm call to Deepseek with model deepseek-coder
[wrangler:inf] POST /api/chat 200 OK (467ms)
X [ERROR] A hanging Promise was canceled. This happens when the worker runtime is waiting for a Promise from JavaScript to resolve, but has detected that the Promise cannot possibly ever resolve because all code and events related to the Promise’s I/O context have already finished.

X [ERROR] Uncaught (in response) Error: The script will never generate a response.

INFO stream-text Sending llm call to Anthropic with model claude-3-5-sonnet-latest
[wrangler:inf] POST /api/chat 200 OK (349ms)
X [ERROR] A hanging Promise was canceled. This happens when the worker runtime is waiting for a Promise from JavaScript to resolve, but has detected that the Promise cannot possibly ever resolve because all code and events related to the Promise’s I/O context have already finished.

X [ERROR] Uncaught (in response) Error: The script will never generate a response.

Hi, I realised that I had not exactly followed the installation instructions so I tried installing again, although I think I’m still facing the same issue - just that now the error isn’t appearing in the terminal but I can see this error in the browser now
image