anomalyco / anomalyco/opencode

TUI crash: Failed to create TextBuffer

Open
#42,006 1 comment 0 reactions 1 assignee View on GitHub

@kommander is already working on this.

Since Aug 12, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

The opencode TUI crashed with an unexpected error.

Error: Failed to create TextBuffer

Stack trace:

Error: Failed to create TextBuffer
    at createTextBuffer (B:/~BUN/root/chunk-naqaftt1.js:72:17756)
    at new B$ (B:/~BUN/root/chunk-naqaftt1.js:72:107778)
    at new VQ (B:/~BUN/root/chunk-naqaftt1.js:73:5282)
    at createListItemRenderable (B:/~BUN/root/chunk-wyqnfhh4.js:69:2606)
    at createListRenderable (B:/~BUN/root/chunk-wyqnfhh4.js:69:1756)
    at createListItemRenderable (B:/~BUN/root/chunk-wyqnfhh4.js:69:3064)
    at createListRenderable (B:/~BUN/root/chunk-wyqnfhh4.js:69:1756)
    at createTopLevelDefaultRenderable (B:/~BUN/root/chunk-wyqnfhh4.js:70:6500)
    at updateTopLevelBlocks (B:/~BUN/root/chunk-wyqnfhh4.js:70:12351)
    at updateBlocks (B:/~BUN/root/chunk-wyqnfhh4.js:70:13611)
    at content (B:/~BUN/root/chunk-wyqnfhh4.js:68:16321)
    at setProperty (B:/~BUN/root/chunk-wyqnfhh4.js:71:7809)
    at setProp (B:/~BUN/root/chunk-wyqnfhh4.js:71:4192)
    at <anonymous> (B:/~BUN/root/chunk-56jy4fhb.js:91:8606)
    at mJ (B:/~BUN/root/chunk-n374cfc4.js:2:9650)
    at p (B:/~BUN/root/chunk-n374cfc4.js:2:9431)
    at dJ (B:/~BUN/root/chunk-n374cfc4.js:2:3567)
    at children (B:/~BUN/root/chunk-56jy4fhb.js:91:8460)
    at <anonymous> (B:/~BUN/root/chunk-n374cfc4.js:2:19878)
    at mJ (B:/~BUN/root/chunk-n374cfc4.js:2:9650)
    at p (B:/~BUN/root/chunk-n374cfc4.js:2:9431)
    at F (B:/~BUN/root/chunk-n374cfc4.js:2:3993)
    at b (B:/~BUN/root/chunk-n374cfc4.js:2:6673)
    at <anonymous> (B:/~BUN/root/chunk-n374cfc4.js:2:19878)
    at mJ (B:/~BUN/root/chunk-n374cfc4.js:2:9650)
    at p (B:/~BUN/root/chunk-n374cfc4.js:2:9431)
    at F (B:/~BUN/root/chunk-n374cfc4.js:2:3993)
    at d (B:/~BUN/root/chunk-n374cfc4.js:2:3135)
    at <anonymous> (B:/~BUN/root/chunk-n374cfc4.js:2:15544)
    at b (B:/~BUN/root/chunk-n374cfc4.js:2:6673)
    at mJ (B:/~BUN/root/chunk-n374cfc4.js:2:9650)
    at p (B:/~BUN/root/chunk-n374cfc4.js:2:9431)
    at F (B:/~BUN/root/chunk-n374cfc4.js:2:3993)
    at Za (B:/~BUN/root/chunk-56jy4fhb.js:91:3104)
    at b (B:/~BUN/root/chunk-n374cfc4.js:2:6673)
    at <anonymous> (B:/~BUN/root/chunk-n374cfc4.js:2:20366)
    at mJ (B:/~BUN/root/chunk-n374cfc4.js:2:9650)
    at p (B:/~BUN/root/chunk-n374cfc4.js:2:9431)
    at F (B:/~BUN/root/chunk-n374cfc4.js:2:3993)
    at d (B:/~BUN/root/chunk-n374cfc4.js:2:3135)
    at <anonymous> (B:/~BUN/root/chunk-n374cfc4.js:2:15544)
    at b (B:/~BUN/root/chunk-n374cfc4.js:2:6673)
    at mJ (B:/~BUN/root/chunk-n374cfc4.js:2:9650)
    at p (B:/~BUN/root/chunk-n374cfc4.js:2:9431)
    at F (B:/~BUN/root/chunk-n374cfc4.js:2:3993)
    at b (B:/~BUN/root/chunk-n374cfc4.js:2:6673)
    at <anonymous> (B:/~BUN/root/chunk-56jy4fhb.js:89:4323)
    at children (B:/~BUN/root/chunk-56jy4fhb.js:89:7250)
    at <anonymous> (B:/~BUN/root/chunk-n374cfc4.js:2:19878)
    at mJ (B:/~BUN/root/chunk-n374cfc4.js:2:9650)
    at p (B:/~BUN/root/chunk-n374cfc4.js:2:9431)
    at F (B:/~BUN/root/chunk-n374cfc4.js:2:3993)
    at b (B:/~BUN/root/chunk-n374cfc4.js:2:6673)
    at children (B:/~BUN/root/chunk-56jy4fhb.js:89:4106)
    at <anonymous> (B:/~BUN/root/chunk-n374cfc4.js:2:14138)
    at mJ (B:/~BUN/root/chunk-n374cfc4.js:2:9650)
    at p (B:/~BUN/root/chunk-n374cfc4.js:2:9431)
    at F (B:/~BUN/root/chunk-n374cfc4.js:2:3993)
    at vJ (B:/~BUN/root/chunk-n374cfc4.js:2:7957)
    at b (B:/~BUN/root/chunk-n374cfc4.js:2:6673)
    at <anonymous> (B:/~BUN/root/chunk-n374cfc4.js:2:14080)
    at mJ (B:/~BUN/root/chunk-n374cfc4.js:2:9650)
    at p (B:/~BUN/root/chunk-n374cfc4.js:2:9431)
    at dJ (B:/~BUN/root/chunk-n374cfc4.js:2:3567)
    at <anonymous> (B:/~BUN/root/chunk-n374cfc4.js:2:14072)
    at b (B:/~BUN/root/chunk-n374cfc4.js:2:6673)
    at children (B:/~BUN/root/chunk-56jy4fhb.js:8:17289)
    at <anonymous> (B:/~BUN/root/chunk-n374cfc4.js:2:14138)
    at mJ (B:/~BUN/root/chunk-n374cfc4.js:2:9650)
    at p (B:/~BUN/root/chunk-n374cfc4.js:2:9431)
    at F (B:/~BUN/root/chunk-n374cfc4.js:2:3993)
    at vJ (B:/~BUN/root/chunk-n374cfc4.js:2:7957)
    at b (B:/~BUN/root/chunk-n374cfc4.js
... (truncated)
Plugins

No response

OpenCode version

1.18.16

Steps to reproduce

Reported automatically from the opencode crash screen. If you can, describe what you were doing when it crashed.

Screenshot and/or share link

No response

Operating System

Windows 10.0.26200 (x64)

Terminal

unknown

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.