TUI not installed correctly #2600

Open
opened 2026-02-16 17:36:23 -05:00 by yindo · 2 comments
Owner

Originally created by @Soupra-D on GitHub (Nov 5, 2025).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @Soupra-D on GitHub (Nov 5, 2025). Originally assigned to: @rekram1-node on GitHub. ### 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 <img width="1180" height="658" alt="Image" src="https://github.com/user-attachments/assets/fa73da1b-3dbd-4669-84ea-ffa74f90bd7d" /> ### Operating System Windows 11 + wsl 2 Ubuntu 22.04.2 LTS ### Terminal Alacritty in windows, start wsl
yindo added the bug label 2026-02-16 17:36:23 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 2025):

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

  • #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.

@github-actions[bot] commented on GitHub (Nov 5, 2025): This issue might be a duplicate of existing issues. Please check: - #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.
Author
Owner

@adamdotdevin commented on GitHub (Nov 5, 2025):

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

@adamdotdevin commented on GitHub (Nov 5, 2025): @rekram1-node this one got labeled as `web`, kicking it back to you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2600