opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Desktop App Failing to Start server on Windows

Open rekram1-node opened this issue 1 week ago • 10 comments

windows opencode 1.1.16 still got error

Image

Originally posted by @shengkaixuan in #8117

rekram1-node avatar Jan 13 '26 07:01 rekram1-node

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.

github-actions[bot] avatar Jan 13 '26 07:01 github-actions[bot]

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
Image

luo007 avatar Jan 13 '26 07:01 luo007

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
Image

This is also my case.

NightmareZero avatar Jan 13 '26 07:01 NightmareZero

+1

fxzma avatar Jan 13 '26 07:01 fxzma

Image

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
Image

This is also my case.

一样的错误

Happy-DJ avatar Jan 13 '26 07:01 Happy-DJ

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

MarinaCecillia avatar Jan 13 '26 07:01 MarinaCecillia

same here

kang0024 avatar Jan 13 '26 07:01 kang0024

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

EricLeeK avatar Jan 13 '26 08:01 EricLeeK

~.config\opencode\opencode.json中把 oh-my-opencode 从 plugin 数组里移除就可以启动了

yooqoo avatar Jan 13 '26 10:01 yooqoo

~.config\opencode\opencode.json中把oh-my-opencode从plugin 内存里移除就可以启动了

that work

HolyTruth avatar Jan 13 '26 11:01 HolyTruth

~.config\opencode\opencode.json中把 oh-my-opencode 从 plugin 数组里移除就可以启动了~.config\opencode\opencode.json 플러그인 배열에서 oh-my-opencode를 제거하기 위해 시작하세요

Thk.

JaehaSS avatar Jan 13 '26 15:01 JaehaSS