Skip to content

opentui: fatal: Object.entries requires that input parameter not be null or undefined #12903

Closed as not planned

Description

@yijiezcn

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:120:46)
    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:227:9)
    at processTicksAndRejections (native:7:39)...

Plugins

No response

OpenCode version

1.1.53

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Feb 10, 2026
  2. github-actions commented on Feb 10, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Steps to reproduce is required for bug reports but only shows "No response". Please provide detailed steps on how to trigger this error.
    • Operating System and Terminal information is missing. Please fill in your OS and terminal to help with debugging.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    Potential Duplicate:
    This appears to be a duplicate of #5151, which reports the same error in the same file (theme.tsx). Please check that issue to see if your setup matches and if there are any existing workarounds.


    If you believe this was flagged incorrectly, please let a maintainer know.

  3. github-actions commented on Feb 10, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds:complianceThis means the issue will auto-close after 2 hours.opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions