Repository navigation
opentui: fatal: TextNodeRenderable only accepts strings, TextNodeRenderable instances, or StyledText instances #5561
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingnixopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
Error: TextNodeRenderable only accepts strings, TextNodeRenderable instances, or StyledText instances
at add (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:189562:20)
at _insertNode (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:196726:15)
at appendNodes (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:196609:17)
at insertExpression (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:196478:24)
at runComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195643:24)
at updateComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195626:17)
at createRenderEffect (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195225:22)
at insert (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:196429:23)
at children (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:216073:15)
at <anonymous> (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:196299:26)
at runComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195643:24)
at updateComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195626:17)
at createMemo (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195246:22)
at render (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:216066:25)
at untrack (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195418:15)
at <anonymous> (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:215907:38)
at runComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195643:24)
at updateComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195626:17)
at createMemo (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195246:22)
at ToolPart (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:215852:31)
at untrack (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195418:15)
at <anonymous> (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:196299:26)
at runComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195643:24)
at updateComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195626:17)
at createMemo (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195246:22)
at createRoot (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195188:22)
at <anonymous> (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:196049:34)
at untrack (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195418:15)
at runComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195643:24)
at updateComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195626:17)
at createMemo (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195246:22)
at AssistantMessage (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:215644:27)
at untrack (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195418:15)
at <anonymous> (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:196335:21)
at runComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195643:24)
at updateComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195626:17)
at createMemo (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195246:22)
at createRoot (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195188:22)
at <anonymous> (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:196049:34)
at untrack (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195418:15)
at runComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195643:24)
at updateComputation (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195626:17)
at runTop (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195746:24)
at runQueue (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195833:11)
at completeUpdates (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195782:15)
at runUpdates (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:195768:20)
at setStore (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/index.js:199244:10)
at sync (/nix/store/qh5663if2bihwa8d9j3365wb4rqw97c4-opencode-1.0.138/lib/opencode/dist/i...
OpenCode version
1.0.138
Steps to reproduce
work on a problem in Plan mode with Qwen3 Coder. At some random point it crashes. Restarting the app and re-opening the same session leads to immediate crash, repeatedly.
Screenshot and/or share link
Operating System
nixos unstable
Terminal
xterm-kitty
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingnixopentuiThis 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 Dec 15, 2025
This issue appears to be a duplicate of an existing issue. Please check:
Both issues report the same error occurring in the opentui rendering layer. Feel free to ignore if your case has different symptoms or context.
rekram1-node commentedon Dec 15, 2025
Can you replicate this on latest?
denis-vilantis commentedon Dec 15, 2025
opening one of the crashing sessions:
rekram1-node commentedon Dec 15, 2025
Do you have some custom tool or mcp tool that has special inputs or outputs that could be causing this?
can you share output of:
opencode debug configrekram1-node commentedon Dec 15, 2025
maybe you can do:
opencode export > session.jsonso i can see the session that caused crashed?
denis-vilantis commentedon Dec 15, 2025
there's some spicy token stuff in those files, i'm gonna have to clean them up before posting.
there are indeed some MCPs in my config. the last tool call in the crashing session however was simple bash:
hope that helps. please lmk if you still need the ~full config & session dump, I'll clean them up and post.
rekram1-node commentedon Dec 15, 2025
Ideally if you can send full session I'll be able to replicate & debug easier.
You can dm me on discord if u prefer
denis-vilantis commentedon Dec 16, 2025
encrypted_files_rekram1-node_20251216_113726.tar.gz.age.gz
Hi @rekram1-node, I've encrypted the opencode-crash-debug directory for you using your GitHub SSH key.
The encrypted file is:
encrypted_files_rekram1-node_20251216_113726.tar.gz.ageTo decrypt the file, you'll need to:
.agefiles 🤷 )This will extract the opencode-crash-debug directory that was causing the TextNodeRenderable error. Hope that helps. Thank you for looking into this!
Pierozi commentedon Feb 5, 2026
Got same issue today.
version 1.1.50
Ghostty terminal
MacOS
github-actions commentedon Apr 7, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.