opentui: fatal: undefined is not an object (evaluating 'color.buffer') #3061

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

Originally created by @shahshlok on GitHub (Nov 22, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

TypeError: undefined is not an object (evaluating 'color.buffer')
    at setCursorColor (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:11086:51)
    at setCursorColor (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:15178:14)
    at <anonymous> (src/cli/cmd/tui/component/prompt/index.tsx:484:14)
    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 runTop (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:833:7)
    at runUserEffects (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:943:36)
    at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:849:17)
    at completeUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:900:17)
    at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:850:5)
    at move (src/cli/cmd/tui/context/local.tsx:73:11)
    at onSelect (src/cli/cmd/tui/app.tsx:301:19)
    at <anonymous> (src/cli/cmd/tui/component/dialog-command.tsx:22:16)
    at emit (node:events:95:22)
    at emitWithPriority (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:2350:38)
    at processInput (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:2321:14)
    at <anonymous> (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:14906:13)
    at emit (node:events:95:22)
    at process (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:5940:12)
    at <anonymous> (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:14848:23)
    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)...

OpenCode version

1.0.105

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @shahshlok on GitHub (Nov 22, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description ``` TypeError: undefined is not an object (evaluating 'color.buffer') at setCursorColor (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:11086:51) at setCursorColor (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:15178:14) at <anonymous> (src/cli/cmd/tui/component/prompt/index.tsx:484:14) 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 runTop (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:833:7) at runUserEffects (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:943:36) at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:849:17) at completeUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:900:17) at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:850:5) at move (src/cli/cmd/tui/context/local.tsx:73:11) at onSelect (src/cli/cmd/tui/app.tsx:301:19) at <anonymous> (src/cli/cmd/tui/component/dialog-command.tsx:22:16) at emit (node:events:95:22) at emitWithPriority (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:2350:38) at processInput (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:2321:14) at <anonymous> (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:14906:13) at emit (node:events:95:22) at process (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:5940:12) at <anonymous> (../../node_modules/.bun/@opentui+core@0.1.47+81ecd8642a1892ca/node_modules/@opentui/core/index-f5t80vp1.js:14848:23) 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)... ``` ### OpenCode version 1.0.105 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:38:25 -05:00
yindo closed this issue 2026-02-16 17:38:25 -05:00
Author
Owner

@rekram1-node commented on GitHub (Nov 22, 2025):

will fix

@rekram1-node commented on GitHub (Nov 22, 2025): will fix
Author
Owner

@rekram1-node commented on GitHub (Nov 24, 2025):

fixed

@rekram1-node commented on GitHub (Nov 24, 2025): [fixed](https://github.com/sst/opencode/commit/b9b071c744814e205ccaf2a94631c1410ea16688)
Author
Owner

@shahshlok commented on GitHub (Nov 24, 2025):

fixed

Thank you so much. It was working and then it suddenly doesnt. I am so sorry. The issue is linked: #4719

Happy to help

@shahshlok commented on GitHub (Nov 24, 2025): > [fixed](https://github.com/sst/opencode/commit/b9b071c744814e205ccaf2a94631c1410ea16688) Thank you so much. It was working and then it suddenly doesnt. I am so sorry. The issue is linked: #4719 Happy to help
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3061