anomalyco / anomalyco/opencode

opentui: fatal: A.replace is not a function. (In 'A.replace(/\n$/,"")', 'A.replace' is undefinedr

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

@simonklee 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
TypeError: A.replace is not a function. (In 'A.replace(/\n$/,"")', 'A.replace' is undefined)
    at xG (/$bunfs/root/src/index.js:973:8249)
    at JY0 (/$bunfs/root/src/index.js:988:3553)
    at uc (/$bunfs/root/src/index.js:818:61318)
    at r9 (/$bunfs/root/src/index.js:818:61082)
    at aJ (/$bunfs/root/src/index.js:818:62935)
    at cc (/$bunfs/root/src/index.js:818:63890)
    at rw0 (/$bunfs/root/src/index.js:818:63230)
    at f5 (/$bunfs/root/src/index.js:818:63126)
    at X (/$bunfs/root/src/index.js:821:5995)...
Plugins

No response

OpenCode version

0.1.11

Steps to reproduce

No response

Screenshot and/or share link
Image
Operating System

macos

Terminal

vscode 终端

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.