Skip to content

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

Closed as duplicate

Description

@Musti94AI

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

Activity

  1. github-actions commented on Jan 25, 2026

    @github-actions
    Contributor

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

    • Error: UV_UNKNOWN: unknown error #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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingperfIndicates a performance issue or need for optimizationwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions