Skip to content

opentui: fatal: undefined is not an object (evaluating 'session().parentID') #6867

Closed

Description

@arimxyer

Description

TypeError: undefined is not an object (evaluating 'session().parentID')
    at <anonymous> (src/cli/cmd/tui/routes/session/index.tsx:82:17)
    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 runTop (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:833:7)
    at runQueue (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:904:42)
    at completeUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:860:84)
    at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:850:5)
    at setStore (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/store/dist/dev.js:221:5)
    at processTicksAndRejections (native:7:39)...

Plugins

oh_my_opencode
opencode-antigravity-auth
opencode-openai-codex-auth

OpenCode version

1.1.1

Steps to reproduce

Ran the command opencode --prompt "xxx" and was met with the error above.

Screenshot and/or share link

No response

Operating System

pop!_os 24.04 LTS

Terminal

Cosmic Terminal (which I believe is built on top of Alacritty)

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 4, 2026
  2. R44VC0RP commented on Jan 24, 2026

    @R44VC0RP
    Collaborator

    Closing as duplicate of #6977 - same session().parentID undefined error.

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