Skip to content

Error: UV_UNKNOWN: unknown error #8792

Closed

Description

@chenychen

Question

Error: UV_UNKNOWN: unknown error, open 'C:\Users\Administrator.local\share\opencode\storage\part\msg_bc4bf030a001butA5ZvOFdSsiR\prt_bc4bf1692001rKRPAXzgC5GaH0.json'

Issue Report

I keep encountering this error while using OpenCode, which constantly interrupts my work and makes it completely unusable. How can I fix this?

Error message:

Error: UV_UNKNOWN: unknown error, open 'C:\Users\Administrator\.local\share\opencode\storage\part\msg_bc4b7df00001xIqsmHSyKgji1M\prt_bc4b7eccd001jYyk5SCfplgEvv.json'

What I've already tried:

  1. ✅ Cleared the entire C:\Users\Administrator\.local\share\opencode\storage directory
  2. ✅ Verified that Administrator has full permissions on the directory
  3. ✅ Reinstalled OpenCode completely
  4. ❌ The error still occurs repeatedly

Environment:

  • OS: Windows (Administrator account)
  • OpenCode version: [1.1.13]
  • Installation method: [npm]

This issue is blocking me from using OpenCode at all. Any help would be greatly appreciated!


Activity

  1. github-actions commented on Jan 16, 2026

    @github-actions
    Contributor

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

    All of these issues relate to corrupted or inaccessible JSON files in the ~/.local/share/opencode/storage/part directory, which aligns with the UV_UNKNOWN error you're experiencing trying to open .json files.

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

  2. AnkMister commented on Jan 21, 2026

    @AnkMister

    I am having this same issue as well. It will hit for multiple parallel sessions at the same time as well. Not sure what is happening.

  3. jacnmm4 commented on Jan 26, 2026

    @jacnmm4

    I'm having the same issue, and it's happening very frequently—so much so that it’s completely unusable. Reinstalling OpenCode didn’t fix the problem either.

  4. fantomc0der commented on Jan 26, 2026

    @fantomc0der

    I've been experiencing this issue lately too. Every once in a while, when executing an "opencode run" command, it'll halt the response and return an error like Error: UV_UNKNOWN: unknown error, open 'C:\Users\<my-user>\.local\share\opencode\storage\part\msg_bfbb94786001h24FABp4e5W18X\prt_bfbb95101001v3wgtK9EDRh9oD.json'.

    System Info:

    • Windows 11
    • OpenCode 1.1.36
    • Installed via NPM
  5. yikolemon commented on Jan 27, 2026

    @yikolemon

    I’m the same — it happens very frequently.

  6. github-actions commented on Apr 12, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions