opentui: fatal: undefined is not an object (evaluating 'enabledFormatters().length') #3216

Closed
opened 2026-02-16 17:39:09 -05:00 by yindo · 3 comments
Owner

Originally created by @Flagrare on GitHub (Nov 30, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

TypeError: undefined is not an object (evaluating 'enabledFormatters().length')
    at when (src/cli/cmd/tui/component/dialog-status.tsx:184:34)
    at <anonymous> (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:1521:43)
    at runComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:742:22)
    at updateComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:724:3)
    at readSignal (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:660:67)
    at runComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:742:22)
    at updateComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:724:3)
    at createMemo (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:273:10)
    at Show (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:1524:46)
    at untrack (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:475:12)...

OpenCode version

1.0.107

Steps to reproduce

I just tried to run the /status command.
I am using z.ai GLM as a model.

Image

Screenshot and/or share link

No response

Operating System

MAC OS Tahoe 26.1

Terminal

Ghostty 1.2.3

Originally created by @Flagrare on GitHub (Nov 30, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description ``` TypeError: undefined is not an object (evaluating 'enabledFormatters().length') at when (src/cli/cmd/tui/component/dialog-status.tsx:184:34) at <anonymous> (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:1521:43) at runComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:742:22) at updateComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:724:3) at readSignal (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:660:67) at runComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:742:22) at updateComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:724:3) at createMemo (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:273:10) at Show (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:1524:46) at untrack (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:475:12)... ``` ### OpenCode version 1.0.107 ### Steps to reproduce I just tried to run the `/status` command. I am using z.ai GLM as a model. <img width="1274" height="1026" alt="Image" src="https://github.com/user-attachments/assets/8803d504-50c6-443c-a74b-e1b23ee7aed8" /> ### Screenshot and/or share link _No response_ ### Operating System `MAC OS Tahoe 26.1` ### Terminal `Ghostty 1.2.3`
yindo added the opentuibug labels 2026-02-16 17:39:09 -05:00
yindo closed this issue 2026-02-16 17:39:09 -05:00
Author
Owner

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

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

  • #3661: Status command not showing any status content (similar /status command issue)

The error occurs in the same component (dialog-status.tsx) and triggers when running the /status command. Both issues involve undefined reference errors in the status dialog component. Feel free to ignore if this addresses a different aspect of your specific case.

@github-actions[bot] commented on GitHub (Nov 30, 2025): This issue might be a duplicate of existing issues. Please check: - #3661: Status command not showing any status content (similar /status command issue) The error occurs in the same component (dialog-status.tsx) and triggers when running the /status command. Both issues involve undefined reference errors in the status dialog component. Feel free to ignore if this addresses a different aspect of your specific case.
Author
Owner

@Flagrare commented on GitHub (Nov 30, 2025):

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

* [bug: Status command is not showing any status content #3661](https://github.com/sst/opencode/issues/3661): Status command not showing any status content (similar /status command issue)

The error occurs in the same component (dialog-status.tsx) and triggers when running the /status command. Both issues involve undefined reference errors in the status dialog component. Feel free to ignore if this addresses a different aspect of your specific case.

Different error.

@Flagrare commented on GitHub (Nov 30, 2025): > This issue might be a duplicate of existing issues. Please check: > > * [bug: Status command is not showing any status content #3661](https://github.com/sst/opencode/issues/3661): Status command not showing any status content (similar /status command issue) > > > The error occurs in the same component (dialog-status.tsx) and triggers when running the /status command. Both issues involve undefined reference errors in the status dialog component. Feel free to ignore if this addresses a different aspect of your specific case. Different error.
Author
Owner

@rekram1-node commented on GitHub (Dec 1, 2025):

@Flagrare I think this was fixed, try updating to latest, if you are on homebrew they aren't letting JS ecosystem things be updated for the time being so you can switch to our tap instead if you want:

sst/tap/opencode

Let me know if you are still getting this issue after upgrading, I can't replicate

@rekram1-node commented on GitHub (Dec 1, 2025): @Flagrare I think this was fixed, try updating to latest, if you are on homebrew they aren't letting JS ecosystem things be updated for the time being so you can switch to our tap instead if you want: sst/tap/opencode Let me know if you are still getting this issue after upgrading, I can't replicate
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3216