UV_UNKNOWN: unknown error - OpenCode crashes when reading corrupted JSON files #7535

Closed
opened 2026-02-16 18:07:28 -05:00 by yindo · 1 comment
Owner

Originally created by @Musti94AI on GitHub (Jan 25, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

OpenCode repeatedly crashes with UV_UNKNOWN: unknown error when attempting to read corrupted JSON files in the storage directory. The error occurs with different JSON files each time, making OpenCode unusable.

Plugins

No response

OpenCode version

1.1.34

Steps to reproduce

  1. Use OpenCode normally for any duration
  2. Error occurs randomly/unpredictably during operation
  3. When error appears, OpenCode hangs/freezes
  4. Error references different .json files in storage/part/msg_/prt_.json each time
  5. Issue persists even after:
  • Clearing entire C:\Users\Administrator.local\share\opencode\storage directory
  • Verifying Administrator has full directory permissions
  • Complete reinstallation of OpenCode

Error msg:
Error: UV_UNKNOWN: unknown error, open 'C:\Users\Administrator.local\share\opencode\storage\part\msg_XXXXX\prt_XXXXX.json'

Screenshot and/or share link

No response

Operating System

Windows

Terminal

Windows Terminal

Originally created by @Musti94AI on GitHub (Jan 25, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description OpenCode repeatedly crashes with UV_UNKNOWN: unknown error when attempting to read corrupted JSON files in the storage directory. The error occurs with different JSON files each time, making OpenCode unusable. ### Plugins _No response_ ### OpenCode version 1.1.34 ### Steps to reproduce 1. Use OpenCode normally for any duration 2. Error occurs randomly/unpredictably during operation 3. When error appears, OpenCode hangs/freezes 4. Error references different .json files in storage/part/msg_*/prt_*.json each time 5. Issue persists even after: - Clearing entire C:\Users\Administrator\.local\share\opencode\storage directory - Verifying Administrator has full directory permissions - Complete reinstallation of OpenCode Error msg: Error: UV_UNKNOWN: unknown error, open 'C:\Users\Administrator\.local\share\opencode\storage\part\msg_XXXXX\prt_XXXXX.json' ### Screenshot and/or share link _No response_ ### Operating System Windows ### Terminal Windows Terminal
yindo added the windowsbugperf labels 2026-02-16 18:07:28 -05:00
yindo closed this issue 2026-02-16 18:07:28 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 25, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8792: Error: UV_UNKNOWN: unknown error - Same exact error message and symptoms (Windows, Administrator account, storage/part JSON files, persistent after clearing storage and reinstalling)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 25, 2026): This issue might be a duplicate of existing issues. Please check: - #8792: Error: UV_UNKNOWN: unknown error - Same exact error message and symptoms (Windows, Administrator account, storage/part JSON files, persistent after clearing storage and reinstalling) Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7535