opentui: 'prompt.set' error still occurring in v1.1.14 #5030

Open
opened 2026-02-16 17:47:52 -05:00 by yindo · 0 comments
Owner

Originally created by @cyllas on GitHub (Jan 12, 2026).

Originally assigned to: @thdxr on GitHub.

Description

Hi! I'm still experiencing the TypeError: undefined is not an object (evaluating 'prompt.set') error on v1.1.14.

I noticed the release notes mention a fix for prompt ref initialization, but the issue seems to still occur intermittently in my setup. I'm not sure if this is a different edge case or if I'm doing something wrong.

Error Stack Trace

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 flush (src/cli/cmd/tui/context/sdk.tsx:29:7)

Environment

  • OpenCode version: 1.1.14
  • Operating System: macOS Sequoia
  • Terminal: Ghostty (latest)
  • Plugins: none

Steps to Reproduce

  1. Open OpenCode TUI
  2. Create a new session (Ctrl+X → N)
  3. Error occurs intermittently (not every time)

Related Issues

This seems related to #7783, #7818, #7850, #7870, #7906.

Happy to provide more information if needed. Thanks for all the great work on OpenCode!

Originally created by @cyllas on GitHub (Jan 12, 2026). Originally assigned to: @thdxr on GitHub. ## Description Hi! I'm still experiencing the `TypeError: undefined is not an object (evaluating 'prompt.set')` error on v1.1.14. I noticed the release notes mention a fix for prompt ref initialization, but the issue seems to still occur intermittently in my setup. I'm not sure if this is a different edge case or if I'm doing something wrong. ## Error Stack Trace ``` 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 flush (src/cli/cmd/tui/context/sdk.tsx:29:7) ``` ## Environment - **OpenCode version:** 1.1.14 - **Operating System:** macOS Sequoia - **Terminal:** Ghostty (latest) - **Plugins:** none ## Steps to Reproduce 1. Open OpenCode TUI 2. Create a new session (Ctrl+X → N) 3. Error occurs intermittently (not every time) ## Related Issues This seems related to #7783, #7818, #7850, #7870, #7906. Happy to provide more information if needed. Thanks for all the great work on OpenCode!
yindo added the opentui label 2026-02-16 17:47:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5030