opencode icon indicating copy to clipboard operation
opencode copied to clipboard

gitstatus failed to initialize

Open popwalker opened this issue 22 hours ago • 2 comments

Description

when i installed desktop opencode, and open it,occur this error:


Error: Failed to spawn OpenCode Server. Logs:
[STDERR] 
[STDERR] [[31mERROR[39m]: gitstatus failed to initialize.
[STDERR] 
[STDERR] 
[STDERR]   Zsh log (/private/var/folders/86/gwrj0wtn1pd30llbf2x0f_3h0000gn/T/gitstatus.POWERLEVEL9K.501.9581.1768489136.1.xtrace.log):
[STDERR] [33m
[STDERR]     +(anon):7> setopt monitor
[STDERR]     (anon):setopt:7: can't change option: monitor
[STDERR]     +(anon):7> return
[STDERR] [39m
[STDERR]   System information:
[STDERR] [33m
[STDERR]     zsh:      5.9
[STDERR]     uname -a: Darwin MacBook-Pro.local 24.6.0 Darwin Kernel Version 24.6.0: Mon Aug 11 21:16:34 PDT 2025; root:xnu-11417.140.69.701.11~1/RELEASE_ARM64_T6020 arm64
[STDERR] [39m
[STDERR]   If you need help, open an issue and attach this whole error message to it:
[STDERR] 
[STDERR]     https://github.com/romkatv/gitstatus/issues/new
[STDOUT] opencode server listening on http://127.0.0.1:53427

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

but when i use opencode-cli, it's ok my env: zsh, oh-my-zsh, power10k

Plugins

oh-my-opencode

OpenCode version

opencode desktop beta

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

macOS Apple M2 Pro

Terminal

iTerm2

popwalker avatar Jan 15 '26 15:01 popwalker