opentui: fatal: undefined is not an object (evaluating 'lines().length') #2879

Closed
opened 2026-02-16 17:37:40 -05:00 by yindo · 1 comment
Owner

Originally created by @karimould on GitHub (Nov 15, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

TypeError: undefined is not an object (evaluating 'lines().length')
    at <anonymous> (src/cli/cmd/tui/routes/session/index.tsx:1616:25)
    at runComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:742:22)
    at updateComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:724:3)
    at readSignal (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:660:67)
    at <anonymous> (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:1508:36)
    at <anonymous> (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:1144:20)
    at runComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:742:22)
    at updateComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:724:3)
    at createMemo (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:273:10)
    at untrack (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:475:12)...

OpenCode version

1.0.65

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS 15.1.1

Terminal

Ghostty

Originally created by @karimould on GitHub (Nov 15, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description ``` TypeError: undefined is not an object (evaluating 'lines().length') at <anonymous> (src/cli/cmd/tui/routes/session/index.tsx:1616:25) at runComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:742:22) at updateComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:724:3) at readSignal (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:660:67) at <anonymous> (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:1508:36) at <anonymous> (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:1144:20) at runComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:742:22) at updateComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:724:3) at createMemo (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:273:10) at untrack (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:475:12)... ``` ### OpenCode version 1.0.65 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System macOS 15.1.1 ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 17:37:40 -05:00
yindo closed this issue 2026-02-16 17:37:40 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 15, 2025):

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

  • #4254: Same error message and stack trace pattern for 'lines().length' TypeError in session component
  • #4178: Identical error occurring at similar code locations in the session index component
  • #4177: Same opentui fatal error with 'lines().length' evaluation failure

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 15, 2025): This issue might be a duplicate of existing issues. Please check: - #4254: Same error message and stack trace pattern for 'lines().length' TypeError in session component - #4178: Identical error occurring at similar code locations in the session index component - #4177: Same opentui fatal error with 'lines().length' evaluation failure Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2879