opentui: fatal: undefined is not an object (evaluating 'local.model.parsed().model') #2725

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

Originally created by @DavidBK on GitHub (Nov 9, 2025).

Description

TypeError: undefined is not an object (evaluating 'local.model.parsed().model')
    at <anonymous> (src/cli/cmd/tui/component/prompt/index.tsx:622:47)
    at <anonymous> (../../node_modules/.bun/@opentui+solid@0.0.0-20251108-0c7899b1+1753ef9b65046169/node_modules/@opentui/solid/index.js:140:62)
    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 createRenderEffect (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:240:75)
    at insert (../../node_modules/.bun/@opentui+solid@0.0.0-20251108-0c7899b1+1753ef9b65046169/node_modules/@opentui/solid/index.js:140:5)
    at <anonymous> (src/cli/cmd/tui/component/prompt/index.tsx:622:5)
    at Prompt (src/cli/cmd/tui/component/prompt/index.tsx:746:12)
    at untrack (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:475:12)
    at runComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:742:22)...

OpenCode version

1.0.49

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

MacOs

Terminal

Wezterm / Ghostty

Originally created by @DavidBK on GitHub (Nov 9, 2025). ### Description ``` TypeError: undefined is not an object (evaluating 'local.model.parsed().model') at <anonymous> (src/cli/cmd/tui/component/prompt/index.tsx:622:47) at <anonymous> (../../node_modules/.bun/@opentui+solid@0.0.0-20251108-0c7899b1+1753ef9b65046169/node_modules/@opentui/solid/index.js:140:62) 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 createRenderEffect (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:240:75) at insert (../../node_modules/.bun/@opentui+solid@0.0.0-20251108-0c7899b1+1753ef9b65046169/node_modules/@opentui/solid/index.js:140:5) at <anonymous> (src/cli/cmd/tui/component/prompt/index.tsx:622:5) at Prompt (src/cli/cmd/tui/component/prompt/index.tsx:746:12) at untrack (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:475:12) at runComputation (../../node_modules/.bun/solid-js@1.9.9/node_modules/solid-js/dist/dev.js:742:22)... ``` ### OpenCode version 1.0.49 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System MacOs ### Terminal Wezterm / Ghostty
yindo added the opentuibug labels 2026-02-16 17:36:59 -05:00
yindo closed this issue 2026-02-16 17:36:59 -05:00
Author
Owner

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

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

  • #4108: Identical error message and stack trace (closed - same TypeError on local.model.parsed().model)
  • #4106: Exact same error occurring on launch (closed - same TypeError on local.model.parsed().model)
  • #4105: Same error message and stack trace (closed - same TypeError on local.model.parsed().model)
  • #4104: Identical error with additional context about hanging on first start (closed - same TypeError on local.model.parsed().model)

All of these issues have the exact same error message 'undefined is not an object (evaluating local.model.parsed().model)' occurring at the same location (src/cli/cmd/tui/component/prompt/index.tsx:622:47) in OpenCode version 1.0.49.

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

@github-actions[bot] commented on GitHub (Nov 9, 2025): This issue might be a duplicate of existing issues. Please check: - #4108: Identical error message and stack trace (closed - same TypeError on local.model.parsed().model) - #4106: Exact same error occurring on launch (closed - same TypeError on local.model.parsed().model) - #4105: Same error message and stack trace (closed - same TypeError on local.model.parsed().model) - #4104: Identical error with additional context about hanging on first start (closed - same TypeError on local.model.parsed().model) All of these issues have the exact same error message 'undefined is not an object (evaluating local.model.parsed().model)' occurring at the same location (src/cli/cmd/tui/component/prompt/index.tsx:622:47) in OpenCode version 1.0.49. 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#2725