Skip to content

opentui: fatal: answer.join is not a function. (In 'answer.join(", ")', 'answer.join' is undefined) #7454

Description

@jhogstrom

Description

TypeError: answer.join is not a function. (In 'answer.join(", ")', 'answer.join' is undefined)
    at format4 (src/cli/cmd/tui/routes/session/index.tsx:2633:19)
    at <anonymous> (../../node_modules/.bun/@opentui+solid@0.1.70+897ebc1644d3edd0/node_modules/@opentui/solid/index.js:148:62)
    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 createRenderEffect (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:240:75)
    at insert (../../node_modules/.bun/@opentui+solid@0.1.70+897ebc1644d3edd0/node_modules/@opentui/solid/index.js:148:5)
    at <anonymous> (src/cli/cmd/tui/routes/session/index.tsx:2662:19)
    at createRoot (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:203:12)
    at <anonymous> (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:1173:23)
    at untrack (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:475:12)...

Plugins

No response

OpenCode version

1.1.8

Steps to reproduce

The error occurred when I restarted opencode (opencode --continue) after an out of memory crash.

Screenshot and/or share link

No response

Operating System

windows 11

Terminal

wezterm

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions