Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
TypeError: Object.entries requires that input parameter not be null or undefined
at entries (unknown)
at resolveTheme (src/cli/cmd/tui/context/theme.tsx:98:46)
at runComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:742:22)
at updateComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:724:3)
at runTop (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:833:7)
at runQueue (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:904:42)
at completeUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:860:84)
at runUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:850:5)
at setStore (../../node_modules/.bun/[email protected]/node_modules/solid-js/store/dist/dev.js:221:5)
at set (src/cli/cmd/tui/context/theme.tsx:179:9)
at onMove (src/cli/cmd/tui/component/dialog-theme-list.tsx:24:13)
at moveTo (src/cli/cmd/tui/ui/dialog-select.tsx:79:11)
at move (src/cli/cmd/tui/ui/dialog-select.tsx:75:5)
at <anonymous> (src/cli/cmd/tui/ui/dialog-select.tsx:98:62)
at emit (node:events:95:22)
at emitWithPriority (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-ztfy2qy3.js:2350:38)
at processInput (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-ztfy2qy3.js:2321:14)
at <anonymous> (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-ztfy2qy3.js:14967:13)
at emit (node:events:95:22)
at process (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-ztfy2qy3.js:5940:12)
at <anonymous> (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index-ztfy2qy3.js:14909: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.114
Steps to reproduce
i just clicked the arrow down button, idk if that was the cause
Screenshot and/or share link
No response
Operating System
macOS
Terminal
Standard Macos terminal
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Activity
github-actions commentedon Nov 26, 2025
This issue might be a duplicate of existing issues. Please check:
All of these issues involve crashes in the theme resolution logic (src/cli/cmd/tui/context/theme.tsx) when navigating themes or loading custom themes. While your error message mentions 'Object.entries', these other issues have similar symptoms (crashes triggered by theme selection/navigation).
Feel free to ignore if your issue has different root causes.
rekram1-node commentedon Nov 27, 2025
did you stop having this issue @badluma
badluma commentedon Nov 27, 2025
Ye I noticed that the error was because of a custom theme