opentui: fatal: undefined is not an object (evaluating 'prompt.set') #7003

Closed
opened 2026-02-16 18:05:52 -05:00 by yindo · 2 comments
Owner

Originally created by @chess10kp on GitHub (Jan 20, 2026).

Originally assigned to: @kommander on GitHub.

Description

TypeError: undefined is not an object (evaluating 'prompt.set')
    at <anonymous> (src/cli/cmd/tui/routes/home.tsx:120:7)
    at untrack (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:475:12)
    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 runUserEffects (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:943:36)
    at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:849:17)
    at completeUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:900:17)
    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 navigate (src/cli/cmd/tui/context/route.tsx:18:9)
    at onSelect (src/cli/cmd/tui/app.tsx:344:13)
    at <anonymous> (src/cli/cmd/tui/component/dialog-command.tsx:32:16)
    at emitWithPriority (../../node_modules/.bun/@opentui+core@0.1.72+81ecd8642a1892ca/node_modules/@opentui/core/index-cr95zpf8.js:2480:11)
    at processInput (../../node_modules/.bun/@opentui+core@0.1.72+81ecd8642a1892ca/node_modules/@opentui/core/index-cr95zpf8.js:2440:16)
    at <anonymous> (../../node_modules/.bun/@opentui+core@0.1.72+81ecd8642a1892ca/node_modules/@opentui/core/index-cr95zpf8.js:16082:13)
    at emit (node:events:95:22)
    at process (../../node_modules/.bun/@opentui+core@0.1.72+81ecd8642a1892ca/node_modules/@opentui/core/index-cr95zpf8.js:6121:12)
    at <anonymous> (../../node_modules/.bun/@opentui+core@0.1.72+81ecd8642a1892ca/node_modules/@opentui/core/index-cr95zpf8.js:16017:23)
    at emit (node:events:95:22)
    at addChunk (internal:streams/readable:265:47)
    at readableAddChunkPushByteMode (internal:streams/readable:243:18)
    at internalRead (native:38:40)
    at processTicksAndRejections (native:7:39)...

Plugins

None

OpenCode version

1.1.13

Steps to reproduce

  1. Type something into the input
  2. hit Ctrl+n to clear the session

Screenshot and/or share link

No response

Operating System

Arch Linux

Terminal

Foot

Originally created by @chess10kp on GitHub (Jan 20, 2026). Originally assigned to: @kommander on GitHub. ### Description ``` TypeError: undefined is not an object (evaluating 'prompt.set') at <anonymous> (src/cli/cmd/tui/routes/home.tsx:120:7) at untrack (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:475:12) 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 runUserEffects (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:943:36) at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:849:17) at completeUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:900:17) 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 navigate (src/cli/cmd/tui/context/route.tsx:18:9) at onSelect (src/cli/cmd/tui/app.tsx:344:13) at <anonymous> (src/cli/cmd/tui/component/dialog-command.tsx:32:16) at emitWithPriority (../../node_modules/.bun/@opentui+core@0.1.72+81ecd8642a1892ca/node_modules/@opentui/core/index-cr95zpf8.js:2480:11) at processInput (../../node_modules/.bun/@opentui+core@0.1.72+81ecd8642a1892ca/node_modules/@opentui/core/index-cr95zpf8.js:2440:16) at <anonymous> (../../node_modules/.bun/@opentui+core@0.1.72+81ecd8642a1892ca/node_modules/@opentui/core/index-cr95zpf8.js:16082:13) at emit (node:events:95:22) at process (../../node_modules/.bun/@opentui+core@0.1.72+81ecd8642a1892ca/node_modules/@opentui/core/index-cr95zpf8.js:6121:12) at <anonymous> (../../node_modules/.bun/@opentui+core@0.1.72+81ecd8642a1892ca/node_modules/@opentui/core/index-cr95zpf8.js:16017:23) at emit (node:events:95:22) at addChunk (internal:streams/readable:265:47) at readableAddChunkPushByteMode (internal:streams/readable:243:18) at internalRead (native:38:40) at processTicksAndRejections (native:7:39)... ``` ### Plugins None ### OpenCode version 1.1.13 ### Steps to reproduce 1. Type something into the input 2. hit Ctrl+n to clear the session ### Screenshot and/or share link _No response_ ### Operating System Arch Linux ### Terminal Foot
yindo added the opentuibug labels 2026-02-16 18:05:52 -05:00
yindo closed this issue 2026-02-16 18:05:53 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 20, 2026):

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

  • #8064: opentui: 'prompt.set' error still occurring in v1.1.14 (same error at the same location in home.tsx)
  • #8106: opentui: fatal: undefined is not an object (evaluating 'input.setText') (similar undefined reference error in opentui components)

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

@github-actions[bot] commented on GitHub (Jan 20, 2026): This issue might be a duplicate of existing issues. Please check: - #8064: opentui: 'prompt.set' error still occurring in v1.1.14 (same error at the same location in home.tsx) - #8106: opentui: fatal: undefined is not an object (evaluating 'input.setText') (similar undefined reference error in opentui components) Feel free to ignore if none of these address your specific case.
Author
Owner

@R44VC0RP commented on GitHub (Jan 24, 2026):

Closing as duplicate of #8064 - same prompt.set undefined error.

@R44VC0RP commented on GitHub (Jan 24, 2026): Closing as duplicate of #8064 - same `prompt.set` undefined error.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7003