Repository navigation
Description
Description
Error: Failed to spawn OpenCode Server (Sidecar terminated before becoming healthy (code=Some(1) signal=None)). Logs:
2026-02-26T13:20:30.398904Z INFO opencode_lib: Initializing app
2026-02-26T13:20:30.398931Z INFO opencode_lib: Main and loading windows created
2026-02-26T13:20:30.399613Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-02-26T13:20:30.400236Z INFO opencode_lib: Setting up server connection
2026-02-26T13:20:33.065655Z INFO opencode_lib: Attempting server connection custom_url=None
2026-02-26T13:20:35.080962Z INFO opencode_lib: Spawning new local server
2026-02-26T13:20:35.080974Z INFO opencode_lib::cli: Spawning sidecar port=48230
2026-02-26T13:20:35.134857Z INFO opencode_lib: Server connection setup
2026-02-26T13:20:35.134865Z INFO opencode_lib: server connection started
2026-02-26T13:20:37.018746Z INFO sidecar: opencode_lib::cli: ERROR 2026-02-26T13:20:37 +377ms service=default path=C:\Users\spitzchau.config\opencode\opencode.json issues=[{"code":"invalid_union","errors":[[{"expected":"array","code":"invalid_type","path":["command"],"message":"Invalid input: expected array, received string"},{"code":"unrecognized_keys","keys":["args","env"],"path":[],"message":"Unrecognized keys: "args", "env""}],[{"code":"unrecognized_keys","keys":["type","command","args","env"],"path":[],"message":"Unrecognized keys: "type", "command", "args", "env""}]],"path":["mcp","filesystem"],"message":"Invalid input"},{"code":"invalid_union","errors":[[{"expected":"array","code":"invalid_type","path":["command"],"message":"Invalid input: expected array, received string"},{"code":"unrecognized_keys","keys":["args","env"],"path":[],"message":"Unrecognized keys: "args", "env""}],[{"code":"unrecognized_keys","keys":["type","command","args","env"],"path":[],"message":"Unrecognized keys: "type", "command", "args", "env""}]],"path":["mcp","pubmed"],"message":"Invalid input"},{"code":"invalid_union","errors":[[{"expected":"array","code":"invalid_type","path":["command"],"message":"Invalid input: expected array, received string"},{"code":"unrecognized_keys","keys":["args","env"],"path":[],"message":"Unrecognized keys: "args", "env""}],[{"code":"unrecognized_keys","keys":["type","command","args","env"],"path":[],"message":"Unrecognized keys: "type", "command", "args", "env""}]],"path":["mcp","arxiv"],"message":"Invalid input"}] name=ConfigInvalidError message=ConfigInvalidError stack=ConfigInvalidError: ConfigInvalidError
2026-02-26T13:20:37.018759Z INFO sidecar: opencode_lib::cli: at load (src/config/config.ts:1351:15)
2026-02-26T13:20:37.018762Z INFO sidecar: opencode_lib::cli: at async (src/config/config.ts:1219:23)
2026-02-26T13:20:37.018764Z INFO sidecar: opencode_lib::cli: at async resolveNetworkOptions (src/cli/network.ts:40:31)
2026-02-26T13:20:37.018766Z INFO sidecar: opencode_lib::cli: at async (src/cli/cmd/serve.ts:14:24)
2026-02-26T13:20:37.018768Z INFO sidecar: opencode_lib::cli: at processTicksAndRejections (native:7:39) fatal
2026-02-26T13:20:37.023999Z INFO sidecar: opencode_lib::cli: \x1b[91m\x1b[1mError: \x1b[0mConfiguration is invalid at C:\Users\spitzchau.config\opencode\opencode.json
2026-02-26T13:20:37.024006Z INFO sidecar: opencode_lib::cli: ↳ Invalid input mcp.filesystem
2026-02-26T13:20:37.024010Z INFO sidecar: opencode_lib::cli: ↳ Invalid input mcp.pubmed
2026-02-26T13:20:37.024012Z INFO sidecar: opencode_lib::cli: ↳ Invalid input mcp.arxiv
2026-02-26T13:20:37.429638Z INFO sidecar: opencode_lib::cli: Sidecar terminated code=Some(1) signal=None
at castError (http://tauri.localhost/assets/bindings-BnzezX0K.js:1:10353)
at http://tauri.localhost/assets/bindings-BnzezX0K.js:1:3246
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Activity
github-actions commentedon Feb 26, 2026
This issue might be a duplicate of existing issues. Please check:
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.