OpenCode Desktop (beta) fails to start in macOS Sonoma #6928

Open
opened 2026-02-16 18:05:37 -05:00 by yindo · 1 comment
Owner

Originally created by @carlos-cajina on GitHub (Jan 20, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Question

Good day. I installed OpenCode Desktop and Terminal on macOS Sonoma version 14.8.3 (23J220). In the Terminal there are no issues but the desktop client throws this error upon starting it:

Error: Failed to spawn OpenCode Server. Logs:
[STDERR] EROFS: read-only file system, mkdir '”'
[STDERR]     path: "”",
[STDERR]  syscall: "mkdir",
[STDERR]    errno: -30,
[STDERR]     code: "EROFS"
[STDERR] 
[STDERR] 
[STDERR] Bun v1.3.5 (macOS x64)

fd@tauri://localhost/assets/index-CyQOMlaz.js:2:11977
@tauri://localhost/assets/index-CyQOMlaz.js:2:4664

I believe I am using the latest beta: Version 1.1.26 (1.1.26)

I went through the troubleshooting steps but they seem targeted for the Terminal environment, so could not find something useful to start debugging.

The only visible symptom I can confirm is that running the desktop client more than once, although erroring, it creates a directory in my home named .

Thanks in advance for any guidance.

Originally created by @carlos-cajina on GitHub (Jan 20, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Question Good day. I installed OpenCode Desktop and Terminal on `macOS Sonoma version 14.8.3 (23J220)`. In the Terminal there are no issues but the desktop client throws this error upon starting it: ``` Error: Failed to spawn OpenCode Server. Logs: [STDERR] EROFS: read-only file system, mkdir '”' [STDERR] path: "”", [STDERR] syscall: "mkdir", [STDERR] errno: -30, [STDERR] code: "EROFS" [STDERR] [STDERR] [STDERR] Bun v1.3.5 (macOS x64) fd@tauri://localhost/assets/index-CyQOMlaz.js:2:11977 @tauri://localhost/assets/index-CyQOMlaz.js:2:4664 ``` I believe I am using the latest beta: `Version 1.1.26 (1.1.26)` I went through the [troubleshooting steps](https://opencode.ai/docs/troubleshooting/) but they seem targeted for the Terminal environment, so could not find something useful to start debugging. The only visible symptom I can confirm is that running the desktop client more than once, although erroring, it creates a directory in my home named `”`. Thanks in advance for any guidance.
yindo added the web label 2026-02-16 18:05:37 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 20, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8206: Error: Failed to spawn OpenCode Server (similar error on Desktop startup)
  • #7475: Error: Failed to spawn OpenCode Server (macOS Desktop startup failure)
  • #6343: EACCES: permission denied, mkdir '/Users/user/.local/share/opencode' (similar mkdir permission issue on macOS)
  • #8389: EACCES: permission denied, mkdir /.opencode (mkdir permission denied error)

The EROFS (read-only file system) error in your case might be related to similar path/permission issues that affect Desktop startup. Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 20, 2026): This issue might be a duplicate of existing issues. Please check: - #8206: Error: Failed to spawn OpenCode Server (similar error on Desktop startup) - #7475: Error: Failed to spawn OpenCode Server (macOS Desktop startup failure) - #6343: EACCES: permission denied, mkdir '/Users/user/.local/share/opencode' (similar mkdir permission issue on macOS) - #8389: EACCES: permission denied, mkdir `/.opencode` (mkdir permission denied error) The EROFS (read-only file system) error in your case might be related to similar path/permission issues that affect Desktop startup. Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6928