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

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

Originally created by @mwaltzer on GitHub (Nov 8, 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

On launch

Screenshot and/or share link

No response

Operating System

Arch Linux

Terminal

Ghostty and VS Code integrated

Originally created by @mwaltzer on GitHub (Nov 8, 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 On launch ### Screenshot and/or share link _No response_ ### Operating System Arch Linux ### Terminal Ghostty and VS Code integrated
yindo added the opentuibug labels 2026-02-16 17:36:55 -05:00
yindo closed this issue 2026-02-16 17:36:55 -05:00
Author
Owner

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

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

  • #4104: Same TypeError with 'local.model.parsed().model' occurring on first start
  • #4105: Identical error with the same stack trace at the same line (index.tsx:622:47)

Both issues report the exact same error message and stack trace in the opentui prompt component. Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 8, 2025): This issue might be a duplicate of existing issues. Please check: - #4104: Same TypeError with 'local.model.parsed().model' occurring on first start - #4105: Identical error with the same stack trace at the same line (index.tsx:622:47) Both issues report the exact same error message and stack trace in the opentui prompt component. 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#2715