TUI Fatal Error: Unknown component type: spinner
Error Description
OpenCode TUI crashes immediately with a fatal error when loading:
Error: [Reconciler] Unknown component type: spinner
This appears to be a version compatibility issue between opentui-spinner@0.0.6 and @opentui/core@0.1.88 / @opentui/solid@0.1.88.
Environment
Stack Trace
Error: [Reconciler] Unknown component type: spinner
at createElement (/$bunfs/root/src/index.js:352240:22)
at children (/$bunfs/root/src/index.js:403216:39)
at <anonymous> (/$bunfs/root/src/index.js:351323:27)
at runComputation (/$bunfs/root/src/index.js:350587:24)
at updateComputation (/$bunfs/root/src/index.js:350570:17)
at readSignal (/$bunfs/root/src/index.js:350492:24)
at <anonymous> (/$bunfs/root/src/index.js:351871:71)
at runComputation (/$bunfs/root/src/index.js:350587:24)
at updateComputation (/$bunfs/root/src/index.js:350570:17)
at createRenderEffect (/$bunfs/root/src/index.js:350141:22)
at insert (/$bunfs/root/src/index.js:351871:23)
at children (/$bunfs/root/src/index.js:403203:15)
...
Dependencies from packages/opencode/package.json:
{
"@opentui/core": "0.1.88",
"@opentui/solid": "0.1.88",
"opentui-spinner": "0.0.6",
"solid-js": "catalog:"
}
Build Output Warning:
+ @opentui/solid@0.1.88 (v0.1.90 available)
+ opentui-spinner@0.0.6
Steps to Reproduce
- Pull latest upstream/dev (commit c529529)
- Build opencode with
bun run build --single
- Install binary
- Launch OpenCode (TUI mode)
- Fatal error occurs immediately
Expected Behavior
TUI should load without errors.
Possible Solutions
- Update
opentui-spinner to a version compatible with @opentui/core@0.1.88
- Pin
@opentui/core and @opentui/solid to versions compatible with opentui-spinner@0.0.6
- Check if spinner component export has changed in newer opentui versions
Workaround
Using CLI mode (opencode run) works fine, only TUI is affected.
TUI Fatal Error: Unknown component type: spinner
Error Description
OpenCode TUI crashes immediately with a fatal error when loading:
This appears to be a version compatibility issue between
opentui-spinner@0.0.6and@opentui/core@0.1.88/@opentui/solid@0.1.88.Environment
0.0.0-dev-202603220503c529529f8- "fix(app): terminal rename from context menu (fix(app): terminal rename from context menu #18263)"Stack Trace
Dependencies from
packages/opencode/package.json:{ "@opentui/core": "0.1.88", "@opentui/solid": "0.1.88", "opentui-spinner": "0.0.6", "solid-js": "catalog:" }Build Output Warning:
Steps to Reproduce
bun run build --singleExpected Behavior
TUI should load without errors.
Possible Solutions
opentui-spinnerto a version compatible with@opentui/core@0.1.88@opentui/coreand@opentui/solidto versions compatible withopentui-spinner@0.0.6Workaround
Using CLI mode (
opencode run) works fine, only TUI is affected.