anomalyco / anomalyco/opencode
opencode2 failed to run, "not a valid application for this OS platform"
@Hona is already working on this.
Since Aug 8, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Yesterday I installed opencode2 on my windows machine and used it for an hour without any problem.
Today I wanted to boot it up again but it wont start, and answered with this error :
PS C:\Users\Arthur\Documents\GIT\SYNTH_01>opencode2
Starting background server...
[12:44:36.309] ERROR (#1): Error: Failed to start server
at ~effect/Utils/internal (../../node_modules/.bun/effect@4.0.0-beta.101/node_modules/effect/dist/Utils.js:89:16)
at (../../node_modules/.bun/effect@4.0.0-beta.101/node_modules/effect/dist/internal/effect.js:727:19)
at runLoop (../../node_modules/.bun/effect@4.0.0-beta.101/node_modules/effect/dist/internal/effect.js:461:98)
at evaluate (../../node_modules/.bun/effect@4.0.0-beta.101/node_modules/effect/dist/internal/effect.js:421:23)
at (../../node_modules/.bun/effect@4.0.0-beta.101/node_modules/effect/dist/internal/effect.js:774:15)
at processTicksAndRejections (unknown:7:39)
at service.ensure (src/services/server-connection.ts:69:53)
at service.ensure (definition) (../client/src/effect/service.ts:54:30)
at cli.server-connection.resolve (src/commands/handlers/default.ts:22:44)
at cli.server-connection.resolve (definition) (src/services/server-connection.ts:21:34) {
[cause]: Error: EUNKNOWN: unknown error, uv_spawn
at spawn (unknown)
at spawn (node:child_process:679:35)
at spawn (node:child_process:14:39)
at try (../client/src/effect/service.ts:71:23)
at ~effect/Utils/internal (../../node_modules/.bun/effect@4.0.0-beta.101/node_modules/effect/dist/Utils.js:89:16)
at (../../node_modules/.bun/effect@4.0.0-beta.101/node_modules/effect/dist/internal/effect.js:725:22)
at runLoop (../../node_modules/.bun/effect@4.0.0-beta.101/node_modules/effect/dist/internal/effect.js:461:98)
at evaluate (../../node_modules/.bun/effect@4.0.0-beta.101/node_modules/effect/dist/internal/effect.js:421:23)
at (../../node_modules/.bun/effect@4.0.0-beta.101/node_modules/effect/dist/internal/effect.js:774:15)
at processTicksAndRejections (unknown:7:39)
I couldnt make it start until I ran the npm installation command again : npm install -g @opencode-ai/cli@next
pp
Plugins
no plugins.
OpenCode version
0.0.0-next-17028
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Windows terminal with psmux
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.