You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
opentui: fatal: Object.entries requires that input parameter not be null or undefined #18517
When running opencode, I encountered a fatal error related to Object.entries receiving null or undefined input in the theme resolution code.
Error Stack Trace
TypeError: Object.entries requires that input parameter not be null or undefined
at entries (unknown)
at resolveTheme (/$bunfs/root/src/index.js:350607:53)
at runComputation (/$bunfs/root/src/index.js:339228:24)
at updateComputation (/$bunfs/root/src/index.js:339211:17)
at runTop (/$bunfs/root/src/index.js:339334:24)
at runQueue (/$bunfs/root/src/index.js:339423:11)
at completeUpdates (/$bunfs/root/src/index.js:339370:15)
at runUpdates (/$bunfs/root/src/index.js:339356:20)
at setStore (/$bunfs/root/src/index.js:343481:10)
at <anonymous> (/$bunfs/root/src/index.js:350686:17)
at processTicksAndRejections (native:7:39)
Steps to Reproduce
Run opencode command
Error occurs during theme resolution
Environment
opencode version: 1.2.27
Analysis
The error occurs in resolveTheme function, suggesting that a theme object is null/undefined when passed to Object.entries. This could be caused by:
Missing theme configuration
Theme not properly initialized before use
Invalid theme value being passed
Expected Behavior
The application should handle null/undefined theme values gracefully, either with a default fallback or proper error message.
Please review those issues to see if your problem is already tracked or has a known fix. If your case is different (e.g., different opencode version or different reproduction steps), please add that context here.
Activity
github-actions commentedon Mar 21, 2026
This issue might be a duplicate of existing issues. Please check:
opentui: fatal: Object.entries requires that input parameter not be null or undefinedopentui: fatal: Object.entries requires that input parameter not be null or undefinedPlease review those issues to see if your problem is already tracked or has a known fix. If your case is different (e.g., different opencode version or different reproduction steps), please add that context here.
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.