TUI not installed correctly
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
Operating System
Windows 11 + wsl 2 Ubuntu 22.04.2 LTS
Terminal
Alacritty in windows, start wsl
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.
@rekram1-node this one got labeled as web, kicking it back to you!