Repository navigation
Description
Description
When I updated to the latest "OpenCode", it stopped working. So I tried to run it in a virtual machine (not a container), but it still wouldn't run. Both my computer and the virtual machine are running "Windows 10 22H2".
PS D:\GodotPrograms\Godot.v4.6.1.Program\godot.4.6.1.my-test-02> opencode
{
"name": "UnknownError",
"data": {
"message": "Error\n at parse (unknown)\n at ~effect/Effect/successCont (B:/~BUN/root/src/cli/cmd/tui/worker.js:10663:32)\n at runLoop (B:/~BUN/root/src/cli/cmd/tui/worker.js:10489:109)\n at evaluate (B:/~BUN/root/src/cli/cmd/tui/worker.js:10459:32)\n at <anonymous> (B:/~BUN/root/src/cli/cmd/tui/worker.js:10621:26)\n at <anonymous> (B:/~BUN/root/src/cli/cmd/tui/worker.js:54970:15)\n at <anonymous> (node:fs:225:13)\n at processTicksAndRejections (unknown:7:39)"
}
}
PS D:\GodotPrograms\Godot.v4.6.1.Program\godot.4.6.1.my-test-02>
Plugins
None
OpenCode version
1.3.9
Steps to reproduce
just "npm i -g opencode-ai" in a new environment
Screenshot and/or share link
INFO 2026-03-31T10:53:58 +61ms service=default directory=D:\GodotPrograms\Godot.v4.6.1.Program\godot.4.6.1.my-test-02 creating instance
INFO 2026-03-31T10:53:58 +5ms service=project directory=D:\GodotPrograms\Godot.v4.6.1.Program\godot.4.6.1.my-test-02 fromDirectory
INFO 2026-03-31T10:53:59 +151ms service=db path=C:\Users\Administrator.local\share\opencode\opencode.db opening database
INFO 2026-03-31T10:53:59 +18ms service=db count=10 mode=bundled applying migrations
INFO 2026-03-31T10:53:59 +7ms service=default directory=D:\GodotPrograms\Godot.v4.6.1.Program\godot.4.6.1.my-test-02 bootstrapping
ERROR 2026-03-31T10:53:59 +7ms service=default error=JSON Parse error: Unexpected EOF event stream subscribe error
INFO 2026-03-31T10:53:59 +586ms service=default directory=D:\GodotPrograms\Godot.v4.6.1.Program\godot.4.6.1.my-test-02 creating instance
INFO 2026-03-31T10:53:59 +0ms service=project directory=D:\GodotPrograms\Godot.v4.6.1.Program\godot.4.6.1.my-test-02 fromDirectory
INFO 2026-03-31T10:53:59 +31ms service=server method=GET path=/session request
INFO 2026-03-31T10:53:59 +0ms service=server status=started method=GET path=/session request
INFO 2026-03-31T10:53:59 +3ms service=server method=GET path=/config/providers request
INFO 2026-03-31T10:53:59 +0ms service=server status=started method=GET path=/config/providers request
INFO 2026-03-31T10:53:59 +1ms service=server method=GET path=/provider request
INFO 2026-03-31T10:53:59 +0ms service=server status=started method=GET path=/provider request
INFO 2026-03-31T10:53:59 +0ms service=server method=GET path=/agent request
INFO 2026-03-31T10:53:59 +0ms service=server status=started method=GET path=/agent request
INFO 2026-03-31T10:53:59 +1ms service=server method=GET path=/config request
INFO 2026-03-31T10:53:59 +0ms service=server status=started method=GET path=/config request
INFO 2026-03-31T10:53:59 +117ms service=default directory=D:\GodotPrograms\Godot.v4.6.1.Program\godot.4.6.1.my-test-02 bootstrapping
ERROR 2026-03-31T10:53:59 +0ms service=server error=JSON Parse error: Unexpected EOF failed
ERROR 2026-03-31T10:53:59 +1ms service=server error=JSON Parse error: Unexpected EOF failed
ERROR 2026-03-31T10:53:59 +0ms service=server error=JSON Parse error: Unexpected EOF failed
ERROR 2026-03-31T10:53:59 +1171ms service=default error=[object Object] tui bootstrap failed
ERROR 2026-03-31T10:53:59 +0ms service=server error=JSON Parse error: Unexpected EOF failed
ERROR 2026-03-31T10:53:59 +0ms service=server error=JSON Parse error: Unexpected EOF failed
INFO 2026-03-31T10:53:59 +0ms service=server status=completed duration=123 method=GET path=/session request
INFO 2026-03-31T10:53:59 +0ms service=server status=completed duration=120 method=GET path=/config/providers request
INFO 2026-03-31T10:53:59 +0ms service=server status=completed duration=119 method=GET path=/provider request
INFO 2026-03-31T10:53:59 +0ms service=server status=completed duration=119 method=GET path=/agent request
INFO 2026-03-31T10:53:59 +0ms service=server status=completed duration=118 method=GET path=/config request
ERROR 2026-03-31T10:53:59 +0ms service=default e=JSON Parse error: Unexpected EOF exception
INFO 2026-03-31T10:53:59 +34ms service=default worker shutting down
INFO 2026-03-31T10:53:59 +1ms service=default disposing all instances
Operating System
Win10Pro 22H2
Terminal
VSCode PowerShell,Win PowerShell,CMD
Activity
dhlang001 commentedon Mar 31, 2026
I had to test backwards from the latest version.
Finally downgraded to 1.3.4 run properly.
Both Desktop and CMD.
😂
tianxingdao commentedon Apr 1, 2026
我也起不来:
dhlang001 commentedon Apr 1, 2026
我好像解决了,如果安装的是默认路径的话,把
%HOMEPATH%\.local\share里的opencode缓存给清除了就好了,不知道为什么,貌似新版本识别不了旧版本的缓存配置。I think I’ve solved it — if you installed it in the default path, just clear the opencode cache inside %HOMEPATH%.localshare. Not sure why, but it seems the new version can’t recognize the old version’s cache configuration.
tianxingdao commentedon Apr 1, 2026
还真是,thanks
paulgrow-octane commentedon Apr 8, 2026
i'm in this boat-- trying to go from
1.3.2 -> 1.3.13and i cannot for the life of me figure out how to get it working except by moving the entire~/.local/share/opencodesomewhere else. then everything works great-- but i lose all past sessions 💢update
once i removed
~/.local/share/opencode/auth.json, everything worked fine 😌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.