window install error Failed to spawn OpenCode Server
Question
Error: Failed to spawn OpenCode Server. Logs: [STDOUT] opencode server listening on http://127.0.0.1:13947
at castError (http://tauri.localhost/assets/index-DT7g4zby.js:2:11968)
at http://tauri.localhost/assets/index-DT7g4zby.js:2:4662
so why this happen?
This issue might be a duplicate of existing issues. Please check:
- #7475: Error: Failed to spawn OpenCode Server. (Similar error message with server spawn failure on macOS)
- #8149: Desktop App Failing to Start server on Windows (Windows-specific server startup failure)
- #8160: fix(sdk): spawn fails on Windows - ENOENT for opencode command (Related spawn failure on Windows with detailed analysis)
Feel free to ignore if none of these address your specific case.
windows desktop 64 exe version, the error from Version: 1.1.15
but it can be opened by cmd line in windows only desktop version has the issue
有解决方法了吗
same issue
The Windows desktop app was spawning multiple Bun processes but failing to capture/manage one of them properly. This has been fixed in commit ddd9c71. Verified working on the dev desktop build. i think in next version it will be fixed
+1