opentui: fatal: undefined is not an object (evaluating 'c3[mode2]') #3440

Open
opened 2026-02-16 17:40:05 -05:00 by yindo · 2 comments
Owner

Originally created by @Bittabola on GitHub (Dec 10, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

TypeError: undefined is not an object (evaluating 'c3[mode2]')
    at resolveColor (src/cli/cmd/tui/context/theme.tsx:107:25)
    at <anonymous> (src/cli/cmd/tui/context/theme.tsx:110:18)
    at map (native:1:11)
    at resolveTheme (src/cli/cmd/tui/context/theme.tsx:109:174)
    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 runQueue (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:904:42)
    at completeUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:860:84)
    at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:850:5)
    at setStore (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/store/dist/dev.js:221:5)
    at <anonymous> (src/cli/cmd/tui/context/theme.tsx:221:7)
    at processTicksAndRejections (native:7:39)...

OpenCode version

1.0.141

Steps to reproduce

Happened while browsing themes

Screenshot and/or share link

No response

Operating System

macOS 26.1

Terminal

Ghostty

Originally created by @Bittabola on GitHub (Dec 10, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description ``` TypeError: undefined is not an object (evaluating 'c3[mode2]') at resolveColor (src/cli/cmd/tui/context/theme.tsx:107:25) at <anonymous> (src/cli/cmd/tui/context/theme.tsx:110:18) at map (native:1:11) at resolveTheme (src/cli/cmd/tui/context/theme.tsx:109:174) 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 runQueue (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:904:42) at completeUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:860:84) at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:850:5) at setStore (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/store/dist/dev.js:221:5) at <anonymous> (src/cli/cmd/tui/context/theme.tsx:221:7) at processTicksAndRejections (native:7:39)... ``` ### OpenCode version 1.0.141 ### Steps to reproduce Happened while browsing themes ### Screenshot and/or share link _No response_ ### Operating System macOS 26.1 ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 17:40:05 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 10, 2025):

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

  • #5307: opentui: fatal: A Proxy's 'target' should be an Object - Also crashed while using the theme picker on macOS 26.1 with the same OpenCode version (1.0.141)
  • #5151: opentui: fatal: Object.entries requires that input parameter not be null or undefined - Theme-related crash in the resolveTheme function in src/cli/cmd/tui/context/theme.tsx

Feel free to ignore if your specific case differs from these issues.

@github-actions[bot] commented on GitHub (Dec 10, 2025): This issue might be a duplicate of existing issues. Please check: - #5307: opentui: fatal: A Proxy's 'target' should be an Object - Also crashed while using the theme picker on macOS 26.1 with the same OpenCode version (1.0.141) - #5151: opentui: fatal: Object.entries requires that input parameter not be null or undefined - Theme-related crash in the resolveTheme function in src/cli/cmd/tui/context/theme.tsx Feel free to ignore if your specific case differs from these issues.
Author
Owner

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

you have some theme thats invalid we wikl fix this

@rekram1-node commented on GitHub (Dec 10, 2025): you have some theme thats invalid we wikl fix this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3440