TUI crash: [Reconciler] Unknown component type: spinner #4477

Open
opened 2026-02-16 17:44:18 -05:00 by yindo · 2 comments
Owner

Originally created by @harshav167 on GitHub (Jan 8, 2026).

Originally assigned to: @kommander on GitHub.

Summary

TUI crashes with "[Reconciler] Unknown component type: spinner" during prompt render.

Steps to reproduce

  1. Build OpenCode locally from branch feature/session-directory-filtering (HEAD 4bbb0df, based on dev bded900ef).
  2. Run the built binary (oc-custom / opencode).
  3. TUI crashes on startup.

Actual

Error: [Reconciler] Unknown component type: spinner
    at createElement (../../node_modules/.bun/@opentui+solid@0.1.69+897ebc1644d3edd0/node_modules/@opentui/solid/index.js:521:17)
    at children (src/cli/cmd/tui/component/prompt/index.tsx:939:26)
    at <anonymous> (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:1531:21)
    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 readSignal (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:660:67)
    at <anonymous> (../../node_modules/.bun/@opentui+solid@0.1.69+897ebc1644d3edd0/node_modules/@opentui/solid/index.js:148:62)
    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 createRenderEffect (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:240:75)

Expected

TUI should render without crashing.

Environment

  • macOS 26.3 (25D5087f), arm64
  • Bun 1.3.5
  • package version: 1.1.8
  • @opentui/solid 0.1.70 in bun.lock (stack trace shows @opentui/solid@0.1.69 path)
  • @opentui/core 0.1.70
  • opentui-spinner 0.0.6
  • Branch: feature/session-directory-filtering
  • HEAD: 4bbb0df835a83d195314694f4fc1cb7ea0d271f0
  • Base dev: bded900ef7
Originally created by @harshav167 on GitHub (Jan 8, 2026). Originally assigned to: @kommander on GitHub. ## Summary TUI crashes with "[Reconciler] Unknown component type: spinner" during prompt render. ## Steps to reproduce 1. Build OpenCode locally from branch `feature/session-directory-filtering` (HEAD 4bbb0df, based on dev bded900ef). 2. Run the built binary (oc-custom / opencode). 3. TUI crashes on startup. ## Actual ``` Error: [Reconciler] Unknown component type: spinner at createElement (../../node_modules/.bun/@opentui+solid@0.1.69+897ebc1644d3edd0/node_modules/@opentui/solid/index.js:521:17) at children (src/cli/cmd/tui/component/prompt/index.tsx:939:26) at <anonymous> (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:1531:21) 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 readSignal (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:660:67) at <anonymous> (../../node_modules/.bun/@opentui+solid@0.1.69+897ebc1644d3edd0/node_modules/@opentui/solid/index.js:148:62) 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 createRenderEffect (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:240:75) ``` ## Expected TUI should render without crashing. ## Environment - macOS 26.3 (25D5087f), arm64 - Bun 1.3.5 - package version: 1.1.8 - @opentui/solid 0.1.70 in bun.lock (stack trace shows @opentui/solid@0.1.69 path) - @opentui/core 0.1.70 - opentui-spinner 0.0.6 - Branch: feature/session-directory-filtering - HEAD: 4bbb0df835a83d195314694f4fc1cb7ea0d271f0 - Base dev: bded900ef7de536faaa791aeffbcbbf727a98432
yindo added the opentui label 2026-02-16 17:44:18 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7061: opentui: fatal: Anchor does not exist - Another @opentui/solid reconciler error with very similar stack trace pattern (reconcileArrays → insertExpression → createRenderEffect)
  • #4606: TUI Crashes - TUI crash after component rendering with similar reconciliation failure
  • #3749: TUI crashes during prompt edit - Related crash in prompt/index.tsx (the same file mentioned in your stack trace)
  • #7392: opentui: fatal: answer.join is not a function - Another component type error during rendering
  • #1220: Opencode crashes the entire terminal session right after open - TUI startup crash issue

The root cause appears to be related to @opentui/solid component registration or version incompatibility. Note that your stack trace shows @opentui/solid@0.1.69 but bun.lock lists 0.1.70 - this version mismatch may be significant.

Feel free to ignore if your specific case differs from these issues.

@github-actions[bot] commented on GitHub (Jan 8, 2026): This issue might be a duplicate of existing issues. Please check: - #7061: opentui: fatal: Anchor does not exist - Another @opentui/solid reconciler error with very similar stack trace pattern (reconcileArrays → insertExpression → createRenderEffect) - #4606: TUI Crashes - TUI crash after component rendering with similar reconciliation failure - #3749: TUI crashes during prompt edit - Related crash in prompt/index.tsx (the same file mentioned in your stack trace) - #7392: opentui: fatal: answer.join is not a function - Another component type error during rendering - #1220: Opencode crashes the entire terminal session right after open - TUI startup crash issue The root cause appears to be related to @opentui/solid component registration or version incompatibility. Note that your stack trace shows @opentui/solid@0.1.69 but bun.lock lists 0.1.70 - this version mismatch may be significant. Feel free to ignore if your specific case differs from these issues.
Author
Owner

@kommander commented on GitHub (Jan 9, 2026):

Are you linking opentui locally for dev?

@kommander commented on GitHub (Jan 9, 2026): Are you linking opentui locally for dev?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4477