Skip to content

cannot start opencode after /exit #26721

@bringwu

Description

@bringwu

Description

opencode
node:internal/child_process:420
throw new ErrnoException(err, 'spawn');
^

Error: spawn EFTYPE
at ChildProcess.spawn (node:internal/child_process:420:11)
at Object.spawn (node:child_process:754:9)
at run (xxx\node_modules\opencode-ai\bin\opencode:11:30)
at Object. (xxx\node_modules\opencode-ai\bin\opencode:199:1)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (node:internal/modules/cjs/loader:1465:32)
at Function._load (node:internal/modules/cjs/loader:1282:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) {
errno: -4028,
code: 'EFTYPE',
syscall: 'spawn'
}

Node.js v22.17.1

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions