Skip to content

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

@ZlatanCN

Description

@ZlatanCN

Description

TypeError: undefined is not an object (evaluating 'enabledFormatters().length')
    at when (/$bunfs/root/src/index.js:574277:35)
    at <anonymous> (/$bunfs/root/src/index.js:556083:49)
    at runComputation (/$bunfs/root/src/index.js:555238:24)
    at updateComputation (/$bunfs/root/src/index.js:555221:17)
    at readSignal (/$bunfs/root/src/index.js:555143:24)
    at runComputation (/$bunfs/root/src/index.js:555238:24)
    at updateComputation (/$bunfs/root/src/index.js:555221:17)
    at createMemo (/$bunfs/root/src/index.js:554726:22)
    at Show (/$bunfs/root/src/index.js:556086:56)
    at untrack (/$bunfs/root/src/index.js:554945:15)
    at runComputation (/$bunfs/root/src/index.js:555238:24)
    at updateComputation (/$bunfs/root/src/index.js:555221:17)
    at devComponent (/$bunfs/root/src/index.js:555071:20)
    at <anonymous> (/$bunfs/root/src/index.js:574275:35)
    at untrack (/$bunfs/root/src/index.js:554945:15)
    at runComputation (/$bunfs/root/src/index.js:555238:24)
    at updateComputation (/$bunfs/root/src/index.js:555221:17)
    at devComponent (/$bunfs/root/src/index.js:555071:20)
    at <anonymous> (/$bunfs/root/src/index.js:556891:25)
    at runComputation (/$bunfs/root/src/index.js:555238:24)
    at updateComputation (/$bunfs/root/src/index.js:555221:17)
    at createRenderEffect (/$bunfs/root/src/index.js:554691:22)
    at insertExpression (/$bunfs/root/src/index.js:556890:25)
    at runComputation (/$bunfs/root/src/index.js:555238:24)
    at updateComputation (/$bunfs/root/src/index.js:555221:17)
    at createRenderEffect (/$bunfs/root/src/index.js:554691:22)
    at insert3 (/$bunfs/root/src/index.js:556861:23)
    at <anonymous> (/$bunfs/root/src/index.js:568438:12)
    at untrack (/$bunfs/root/src/index.js:554945:15)
    at runComputation (/$bunfs/root/src/index.js:555238:24)
    at updateComputation (/$bunfs/root/src/index.js:555221:17)
    at devComponent (/$bunfs/root/src/index.js:555071:20)
    at <anonymous> (/$bunfs/root/src/index.js:556093:27)
    at runComputation (/$bunfs/root/src/index.js:555238:24)
    at updateComputation (/$bunfs/root/src/index.js:555221:17)
    at runTop (/$bunfs/root/src/index.js:555346:24)
    at runQueue (/$bunfs/root/src/index.js:555435:11)
    at completeUpdates (/$bunfs/root/src/index.js:555382:15)
    at runUpdates (/$bunfs/root/src/index.js:555368:20)
    at setStore (/$bunfs/root/src/index.js:560052:10)
    at replace (/$bunfs/root/src/index.js:568530:16)
    at onSelect (/$bunfs/root/src/index.js:588779:21)
    at trigger (/$bunfs/root/src/index.js:574553:29)
    at select2 (/$bunfs/root/src/index.js:576095:24)
    at onKeyDown (/$bunfs/root/src/index.js:576187:20)
    at <anonymous> (/$bunfs/root/src/index.js:577606:31)
    at <anonymous> (/$bunfs/root/src/index.js:432883:37)
    at emitWithPriority (/$bunfs/root/src/index.js:428511:21)
    at processParsedKey (/$bunfs/root/src/index.js:428450:22)
    at handleStdinEvent (/$bunfs/root/src/index.js:437030:44)
    at <anonymous> (/$bunfs/root/src/index.js:437021:30)
    at drain (/$bunfs/root/src/index.js:419605:14)
    at drainStdinParser (/$bunfs/root/src/index.js:437020:29)
    at <anonymous> (/$bunfs/root/src/index.js:436928:30)
    at emit (node:events:95:22)
    at addChunk (internal:streams/readable:265:47)
    at readableAddChunkPushByteMode (internal:streams/readable:243:18)
    at internalRead (native:38:40)
    at processTicksAndRejections (native:7:39)...

Plugins

oh-my-openagent

OpenCode version

1.4.3

Steps to reproduce

  1. npm i -g opencode-ai
  2. bunx oh-my-openagent install
  3. choose "no" for all providers
  4. run "opencode"
  5. oh-my-openagent not activated, check /status
  6. saw the error

Screenshot and/or share link

No response

Operating System

WSL, Ubuntu 24.04.4 LTS

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

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

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