Skip to content

TUI not installed correctly #3932

Closed
Closed

Description

@Soupra-D

Description

Hi,

I'm using opencode behing a proxy, at first I had issue with opencode-copilot-auth, I managed to install the dependency with bun install opencode-copilot-auth and setting up my CA-certificate for my private npm repo.

I can use opencode web but the interface is not there yet compared to the TUI.

When I start opencode I have the following error :

$ cat _console_1762340258777.log
[11:56:48] [ERROR] Error: undefined is not an object (evaluating 'x3.data.providers')
TypeError: undefined is not an object (evaluating 'x3.data.providers')
    at <anonymous> (src/cli/cmd/tui/context/sync.tsx:143:81)
    at processTicksAndRejections (native:7:39)

[11:56:48] [ERROR] Error: undefined is not an object (evaluating 'x3.data.providers')
TypeError: undefined is not an object (evaluating 'x3.data.providers')
    at <anonymous> (src/cli/cmd/tui/context/sync.tsx:143:81)
    at processTicksAndRejections (native:7:39)

[11:57:20] [INFO] 'Console logs saved to: _console_1762340240317.log'

When on focused mode, I can do ctrl+p and the error message rotate, but when i lose focuse, the tty is locked.

I think it's an issue with the opentui dependency, can I install the dependency somehow ?

Or is it something else ?

OpenCode version

1.0.25

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Windows 11 + wsl 2 Ubuntu 22.04.2 LTS

Terminal

Alacritty in windows, start wsl

Activity

  1. github-actions commented on Nov 5, 2025

    @github-actions
    Contributor

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

    • opentui: crash #3462: Both report the exact same error 'undefined is not an object (evaluating 'x3.data.providers')' at the same location in sync.tsx

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

  2. removed
    webRelates to opencode on web / desktop
    on Nov 5, 2025
  3. adamdotdevin commented on Nov 5, 2025

    @adamdotdevin
    Member

    @rekram1-node this one got labeled as web, kicking it back to you!

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 working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions