Skip to content

1.1.16 - OpenTUI failed to initialize #8211

Closed

Description

@BrianMSK

Description

Hello, I am on opencode 1.1.16 on Windows 25H2, I was using Opencode normally, but when I ran into limit of my Claude Pro subscription, I had timer of 8000 seconds and couldnt switch model and continue, so i wrote /exit, and since then I cannot open OpenCode

Plugins

"opencode-antigravity-auth@beta",     "@tarquinen/opencode-dcp@latest",     "opencode-websearch-cited@1.2.0",     "oh-my-opencode",     "opencode-openai-codex-auth",     "opencode-supermemory@latest"

OpenCode version

1.1.16

Steps to reproduce

No response

Screenshot and/or share link

ERROR 2026-01-13T13:03:23 +82ms service=default e=Failed to initialize OpenTUI render library: Failed to open library "C:\Users\uhrikd\AppData\Local\Temp.3aeafc097f7ff6fd-00000001.dll": error code 225 rejection
ERROR 2026-01-13T13:03:23 +0ms service=default Error: Failed to initialize OpenTUI render library: Failed to open library "C:\Users\uhrikd\AppData\Local\Temp.3aeafc097f7ff6fd-00000001.dll": error code 225

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 13, 2026
  2. github-actions commented on Jan 13, 2026

    @github-actions
    Contributor

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

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

  3. BrianMSK commented on Jan 13, 2026

    @BrianMSK
    Author

    This is caused by Windows AV flagging files in Temp folder. Closing

  4. mendi80 commented on Jan 15, 2026

    @mendi80

    Solution: Change TEMP and TMP dir in env variables.
    It will throw this error if you have TEMP dir on ramdrive.
    change temp dirs to regular drive.

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 workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions