Windows Desktop can't open terminal because bun problem #4630

Open
opened 2026-02-16 17:44:51 -05:00 by yindo · 1 comment
Owner

Originally created by @luguoyixiazi on GitHub (Jan 10, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

"TypeError: undefined is not an object (evaluating 'lib.symbols')\n at new Terminal (../../node_modules/.bun/bun-pty@0.4.4/node_modules/bun-pty/src/terminal.ts:161:17)\n at spawn7 (../../node_modules/.bun/bun-pty@0.4.4/node_modules/bun-pty/src/index.ts:18:16)\n at create (src/pty/index.ts:109:24)\n at processTicksAndRejections (native:7:39)"
That‘s make index-OLRiU-d3.js:1728 Failed to create terminal

Plugins

No response

OpenCode version

1.1.11

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @luguoyixiazi on GitHub (Jan 10, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description "TypeError: undefined is not an object (evaluating 'lib.symbols')\n at new Terminal (../../node_modules/.bun/bun-pty@0.4.4/node_modules/bun-pty/src/terminal.ts:161:17)\n at spawn7 (../../node_modules/.bun/bun-pty@0.4.4/node_modules/bun-pty/src/index.ts:18:16)\n at create (src/pty/index.ts:109:24)\n at processTicksAndRejections (native:7:39)" That‘s make index-OLRiU-d3.js:1728 Failed to create terminal ### Plugins _No response_ ### OpenCode version 1.1.11 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the windowsbugweb labels 2026-02-16 17:44:51 -05:00
Author
Owner

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

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

  • #5685: Cannot open terminal from opencode web (also involves bun-pty library loading failures)
  • #7578: Opencode Web: Terminal not working (terminal functionality issues in web UI)
  • #6004: Bug: Desktop embedded terminal freezes when shell exits via Ctrl+D or exit command (general terminal issues in desktop)

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

@github-actions[bot] commented on GitHub (Jan 10, 2026): This issue might be a duplicate of existing issues. Please check: - #5685: Cannot open terminal from opencode web (also involves bun-pty library loading failures) - #7578: Opencode Web: Terminal not working (terminal functionality issues in web UI) - #6004: Bug: Desktop embedded terminal freezes when shell exits via Ctrl+D or `exit` command (general terminal issues in desktop) 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#4630