Opencode Desktop error with nushell as default shell #6286

Open
opened 2026-02-16 18:02:39 -05:00 by yindo · 0 comments
Owner

Originally created by @fraluc06 on GitHub (Jan 15, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

When I start the desktop version of Opencode, I receive this message: Error: Failed to spawn OpenCode Server. Logs:
[STDERR] Error: nu::parser::parse_mismatch
[STDERR]
[STDERR] x Parse mismatch during operation.
[STDERR] ,-[source:1:58]
[STDERR] 1 | "/Applications/OpenCode.app/Contents/MacOS/opencode-cli" serve --port 53854
[STDERR] : ^^|^^
[STDERR] : -- expected operator [STDERR] ----
[STDERR]

zu@tauri://localhost/assets/index-D-5zzoZR.js:2:11977
@tauri://localhost/assets/index-D-5zzoZR.js:2:4664

This issue wasadded I think after 1.1.20 (or near that version). Prior to that, even with nushell as default shell, the desktop app worked fine

Plugins

No response

OpenCode version

1.1.21

Steps to reproduce

  1. Set nushell as default shell
  2. Reboot device
  3. Open Opencode Desktop

Screenshot and/or share link

No response

Operating System

macOS 26.2

Terminal

Ghostty

Originally created by @fraluc06 on GitHub (Jan 15, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description When I start the desktop version of Opencode, I receive this message: Error: Failed to spawn OpenCode Server. Logs: [STDERR] Error: nu::parser::parse_mismatch [STDERR] [STDERR] x Parse mismatch during operation. [STDERR] ,-[source:1:58] [STDERR] 1 | "/Applications/OpenCode.app/Contents/MacOS/opencode-cli" serve --port 53854 [STDERR] : ^^|^^ [STDERR] : `-- expected operator [STDERR] `---- [STDERR] zu@tauri://localhost/assets/index-D-5zzoZR.js:2:11977 @tauri://localhost/assets/index-D-5zzoZR.js:2:4664 This issue wasadded I think after 1.1.20 (or near that version). Prior to that, even with nushell as default shell, the desktop app worked fine ### Plugins _No response_ ### OpenCode version 1.1.21 ### Steps to reproduce 1. Set nushell as default shell 2. Reboot device 3. Open Opencode Desktop ### Screenshot and/or share link _No response_ ### Operating System macOS 26.2 ### Terminal Ghostty
yindo added the bugweb labels 2026-02-16 18:02:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6286