Skip to content

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

Closed

Description

@Flagrare

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

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 30, 2025
  2. github-actions commented on Nov 30, 2025

    @github-actions
    Contributor

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

    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.

  3. Flagrare commented on Nov 30, 2025

    @Flagrare
    Author

    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.

  4. self-assigned this
    on Nov 30, 2025
  5. rekram1-node commented on Dec 1, 2025

    @rekram1-node
    Contributor

    @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 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 opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions