Skip to content

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

@zhangwanli09

Description

@zhangwanli09

Description

TypeError: undefined is not an object (evaluating 'enabledFormatters().length')
    at when (/$bunfs/root/src/index.js:574298:35)
    at <anonymous> (/$bunfs/root/src/index.js:556106:49)
    at runComputation (/$bunfs/root/src/index.js:555261:24)
    at updateComputation (/$bunfs/root/src/index.js:555244:17)
    at readSignal (/$bunfs/root/src/index.js:555166:24)
    at runComputation (/$bunfs/root/src/index.js:555261:24)
    at updateComputation (/$bunfs/root/src/index.js:555244:17)
    at createMemo (/$bunfs/root/src/index.js:554749:22)
    at Show (/$bunfs/root/src/index.js:556109:56)
    at untrack (/$bunfs/root/src/index.js:554968:15)
    at runComputation (/$bunfs/root/src/index.js:555261:24)
    at updateComputation (/$bunfs/root/src/index.js:555244:17)
    at devComponent (/$bunfs/root/src/index.js:555094:20)
    at <anonymous> (/$bunfs/root/src/index.js:574296:35)
    at untrack (/$bunfs/root/src/index.js:554968:15)
    at runComputation (/$bunfs/root/src/index.js:555261:24)
    at updateComputation (/$bunfs/root/src/index.js:555244:17)
    at devComponent (/$bunfs/root/src/index.js:555094:20)
    at <anonymous> (/$bunfs/root/src/index.js:556914:25)
    at runComputation (/$bunfs/root/src/index.js:555261:24)
    at updateComputation (/$bunfs/root/src/index.js:555244:17)
    at createRenderEffect (/$bunfs/root/src/index.js:554714:22)
    at insertExpression (/$bunfs/root/src/index.js:556913:25)
    at runComputation (/$bunfs/root/src/index.js:555261:24)
    at updateComputation (/$bunfs/root/src/index.js:555244:17)
    at createRenderEffect (/$bunfs/root/src/index.js:554714:22)
    at insert3 (/$bunfs/root/src/index.js:556884:23)
    at <anonymous> (/$bunfs/root/src/index.js:568459:12)
    at untrack (/$bunfs/root/src/index.js:554968:15)
    at runComputation (/$bunfs/root/src/index.js:555261:24)
    at updateComputation (/$bunfs/root/src/index.js:555244:17)
    at devComponent (/$bunfs/root/src/index.js:555094:20)
    at <anonymous> (/$bunfs/root/src/index.js:556116:27)
    at runComputation (/$bunfs/root/src/index.js:555261:24)
    at updateComputation (/$bunfs/root/src/index.js:555244:17)
    at runTop (/$bunfs/root/src/index.js:555369:24)
    at runQueue (/$bunfs/root/src/index.js:555458:11)
    at completeUpdates (/$bunfs/root/src/index.js:555405:15)
    at runUpdates (/$bunfs/root/src/index.js:555391:20)
    at setStore (/$bunfs/root/src/index.js:560073:10)
    at replace (/$bunfs/root/src/index.js:568551:16)
    at onSelect (/$bunfs/root/src/index.js:588800:21)
    at trigger (/$bunfs/root/src/index.js:574574:29)
    at select2 (/$bunfs/root/src/index.js:576116:24)
    at onKeyDown (/$bunfs/root/src/index.js:576208:20)
    at <anonymous> (/$bunfs/root/src/index.js:577627:31)
    at <anonymous> (/$bunfs/root/src/index.js:432908:37)
    at emitWithPriority (/$bunfs/root/src/index.js:428536:21)
    at processParsedKey (/$bunfs/root/src/index.js:428475:22)
    at handleStdinEvent (/$bunfs/root/src/index.js:437055:44)
    at <anonymous> (/$bunfs/root/src/index.js:437046:30)
    at drain (/$bunfs/root/src/index.js:419632:14)
    at drainStdinParser (/$bunfs/root/src/index.js:437045:29)
    at <anonymous> (/$bunfs/root/src/index.js:436953:30)
    at emit (node:events:95:22)
    at addChunk (internal:streams/readable:264:47)
    at readableAddChunkPushByteMode (internal:streams/readable:242:18)
    at internalRead (native:38:40)
    at processTicksAndRejections (native:7:39)...

Plugins

No response

OpenCode version

1.4.3

Steps to reproduce

An error occurred after typing '/status' and pressing Enter in the TUI.

Screenshot and/or share link

Image

Operating System

macOS 26.4.1

Terminal

System Terminal

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions