Desktop App Failing to Start server on Windows
This issue might be a duplicate of existing issues. Please check:
- #8117: OpenCode Desktop 1.1.15 hangs on "Initializing…" (Windows 11 ARM64 running x64 build) — 1.1.14 works
- #8144: [BUG]: OpenCode.exe (Windows x64) hangs indefinitely at "Initializing..." with no debug logs
- #8108: once update to 1.1.15 keep initializing...
- #8120: An error occurred while loading the application ("Error: Failed to spawn OpenCode Server")
Feel free to ignore if your specific case differs from these reported issues.
Windows11 Error: Failed to spawn OpenCode Server. Logs: [STDOUT] opencode server listening on http://127.0.0.1:65025
at castError (http://tauri.localhost/assets/index-DT7g4zby.js:2:11968)
at http://tauri.localhost/assets/index-DT7g4zby.js:2:4662
Windows11 Error: Failed to spawn OpenCode Server. Logs: [STDOUT] opencode server listening on http://127.0.0.1:65025
at castError (http://tauri.localhost/assets/index-DT7g4zby.js:2:11968) at http://tauri.localhost/assets/index-DT7g4zby.js:2:4662![]()
This is also my case.
+1
Windows11 Error: Failed to spawn OpenCode Server. Logs: [STDOUT] opencode server listening on http://127.0.0.1:65025
at castError (http://tauri.localhost/assets/index-DT7g4zby.js:2:11968) at http://tauri.localhost/assets/index-DT7g4zby.js:2:4662![]()
This is also my case.
一样的错误
Yes, in MacOS Tahoe 26.2, after I updated to version 1.1.16, I received the following error:
Error: Failed to spawn OpenCode Server. Logs:
[STDERR] (anon):setopt:7: can't change option: monitor
[STDERR]
[STDERR] [[31mERROR[39m]: gitstatus failed to initialize.
[STDERR]
[STDERR]
[STDERR] Add the following parameter to ~/.zshrc for extra diagnostics on error:
[STDERR]
[STDERR] GITSTATUS_LOG_LEVEL=DEBUG
[STDERR]
[STDERR] Restart Zsh to retry gitstatus initialization:
[STDERR]
[STDERR] [32mexec zsh[39m
[STDOUT] opencode server listening on http://127.0.0.1:57701
zu@tauri://localhost/assets/index-DcPG2uOI.js:2:11977
@tauri://localhost/assets/index-DcPG2uOI.js:2:4664
I made multiple rounds of adjustments until the end.
Error: Failed to spawn OpenCode Server. Logs:
[STDOUT] opencode server listening on http://127.0.0.1:50795
zu@tauri://localhost/assets/index-DcPG2uOI.js:2:11977
@tauri://localhost/assets/index-DcPG2uOI.js:2:4664
same here
same Error: Failed to spawn OpenCode Server. Logs: [STDOUT] opencode server listening on http://127.0.0.1:9892
at castError (http://tauri.localhost/assets/index-DT7g4zby.js:2:11968)
at http://tauri.localhost/assets/index-DT7g4zby.js:2:4662
~.config\opencode\opencode.json中把 oh-my-opencode 从 plugin 数组里移除就可以启动了
~.config\opencode\opencode.json中把oh-my-opencode从plugin 内存里移除就可以启动了
that work
~.config\opencode\opencode.json中把 oh-my-opencode 从 plugin 数组里移除就可以启动了~.config\opencode\opencode.json 플러그인 배열에서 oh-my-opencode를 제거하기 위해 시작하세요
Thk.