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
{{ message }}
Repository navigation
renderer: LocationNotFoundError for temp browser path persists after restart #54431
Renderer shows LocationNotFoundError for temporary browser path when opening a project; hitting "Restart" returns to the same error page.
Environment
opencode version: 2.0.26
OS: Darwin 25.6.0 (darwin arm64)
Terminal: ghostty (xterm-256color, truecolor)
Shell: /bin/zsh
Install/channel: latest
Active plugins: None found in config
Reproduction
Open opencode
Open a project/file
Renderer shows error: LocationNotFoundError: Location not found: /private/var/folders/mw/zvjqlbzn0_z8b8cg5tsrdzth0000gp/T/opencode-browser-au5VcH/0
Click "Restart" button
Returns to same error page (persistent error state)
Expected Behavior
Project should open normally in the renderer, or at minimum restart should recover to a working state.
Actual Behavior
Renderer fails to locate a temporary browser path (/private/var/folders/.../T/opencode-browser-*/0) and enters a persistent error loop where restart doesn't recover.
Additional Context
Error occurs intermittently when opening projects
No recent changes to opencode, config, or workspace
Stack trace points to renderer assets: oc://renderer/assets/main-CXmTgxnc.js
Thanks for the detailed report and the screenshot. This happens in the Desktop app's renderer on macOS, which our automated environment can't run, so a maintainer with that setup will need to reproduce it.
What we found so far: the missing path (.../T/opencode-browser-XXXX/0) is the temporary folder OpenCode's built-in browser creates when it saves a capture such as a screenshot. It looks like that folder got recorded as a project or session location. Once macOS removed it, the app showed the error for the whole window instead of handling it inside the affected tab, and because the tab is restored on restart, the error comes back every time.
If you remember whether this started after the agent took a browser screenshot, or after you clicked a capture file path in the chat, that would help. As a temporary workaround, recreating that exact folder may let the app load again so you can close the tab or project.
These existing issues look related, most likely first:
This was fixed by #55553. It mentioned this issue as related rather than closing it, so GitHub didn't close it automatically. Closing as completed. If you still see this on the latest OpenCode, please open a new issue with details.
Activity
opencode-agent commentedon Oct 11, 2026
Thanks for the detailed report and the screenshot. This happens in the Desktop app's renderer on macOS, which our automated environment can't run, so a maintainer with that setup will need to reproduce it.
What we found so far: the missing path (
.../T/opencode-browser-XXXX/0) is the temporary folder OpenCode's built-in browser creates when it saves a capture such as a screenshot. It looks like that folder got recorded as a project or session location. Once macOS removed it, the app showed the error for the whole window instead of handling it inside the affected tab, and because the tab is restored on restart, the error comes back every time.If you remember whether this started after the agent took a browser screenshot, or after you clicked a capture file path in the chat, that would help. As a temporary workaround, recreating that exact folder may let the app load again so you can close the tab or project.
These existing issues look related, most likely first:
Tarquinen commentedon Oct 20, 2026
This was fixed by #55553. It mentioned this issue as related rather than closing it, so GitHub didn't close it automatically. Closing as completed. If you still see this on the latest OpenCode, please open a new issue with details.
— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊