You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking "Install and restart" on the desktop version of Open Code, it errors saying it cannot modify a file. It cannot modify files where it was installed, because those files are still open. I have to open the task manager and close any and all bun instances, then click retry, and it installs and restarts properly afterwards.
OS -- Windows 11 workstation pro, using Open Code Desktop
I think this might be a fairly simple fix on the installer, if you just look for any instances of "Bun" after open code has been closed, and close those instances, before the installer actually tries to open or modify the files.
OpenCode version
All Desktop Versions -- Updated to the latest at 7:40 PM PST on 12/20/25
Steps to reproduce
Wait for an update on open code
Click update and restart on open code
Error pops up saying "Cannot open the file for editing"
--- Workaround ---
Activity
[-]Error when upding open code desktop[/-][+]Error when updating open code desktop[/+]github-actions commentedon Dec 21, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
hackall360 commentedon Dec 21, 2025
My bad, duplicate of an issue that was posted twice -- each with more context.