Skip to content

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

Closed as duplicate

Description

@karimould

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

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 15, 2025
  2. github-actions commented on Nov 15, 2025

    @github-actions
    Contributor

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

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

  3. self-assigned this
    on Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions