opentui: fatal: The "path" property must be of type string, got object #9413

Open
opened 2026-02-16 18:12:23 -05:00 by yindo · 1 comment
Owner

Originally created by @josh-robey on GitHub (Feb 15, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

TypeError: The "path" property must be of type string, got object
    at isAbsolute (unknown)
    at normalizePath3 (src/cli/cmd/tui/routes/session/index.tsx:3012: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 readSignal (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:660:67)
    at normalizeIncomingArray (../../node_modules/.bun/@opentui+solid@0.1.79+32dd883c17663c11/node_modules/@opentui/solid/index.js:234:20)
    at insertExpression (../../node_modules/.bun/@opentui+solid@0.1.79+32dd883c17663c11/node_modules/@opentui/solid/index.js:187:11)
    at <anonymous> (../../node_modules/.bun/@opentui+solid@0.1.79+32dd883c17663c11/node_modules/@opentui/solid/index.js:188:44)
    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)...

Plugins

DCP, Oh-My-Opencode-Slim

OpenCode version

1.2.4

Steps to reproduce

Genuinely don't know what happened, was an error in a subagent. main agent worked fine and the error showed up when a subagent was working. when i clicked reset tui i went back into the session and everything was fine, until i clicked into the subagent then i got the error again.

Screenshot and/or share link

No response

Operating System

Win10

Terminal

Windows Terminal

Originally created by @josh-robey on GitHub (Feb 15, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description ``` TypeError: The "path" property must be of type string, got object at isAbsolute (unknown) at normalizePath3 (src/cli/cmd/tui/routes/session/index.tsx:3012: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 readSignal (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:660:67) at normalizeIncomingArray (../../node_modules/.bun/@opentui+solid@0.1.79+32dd883c17663c11/node_modules/@opentui/solid/index.js:234:20) at insertExpression (../../node_modules/.bun/@opentui+solid@0.1.79+32dd883c17663c11/node_modules/@opentui/solid/index.js:187:11) at <anonymous> (../../node_modules/.bun/@opentui+solid@0.1.79+32dd883c17663c11/node_modules/@opentui/solid/index.js:188:44) 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)... ``` ### Plugins DCP, Oh-My-Opencode-Slim ### OpenCode version 1.2.4 ### Steps to reproduce Genuinely don't know what happened, was an error in a subagent. main agent worked fine and the error showed up when a subagent was working. when i clicked reset tui i went back into the session and everything was fine, until i clicked into the subagent then i got the error again. ### Screenshot and/or share link _No response_ ### Operating System Win10 ### Terminal Windows Terminal
yindo added the windowsopentuibug labels 2026-02-16 18:12:23 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 15, 2026):

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

  • #12697: Same error location in normalizePath3 with similar "path" property type validation issue (got number instead of object)
  • #13600: Related TUI path handling issue when directory is not properly passed

Both issues involve path type validation failures in the TUI during session operations.

@github-actions[bot] commented on GitHub (Feb 15, 2026): This issue might be a duplicate of existing issues. Please check: - #12697: Same error location in `normalizePath3` with similar "path" property type validation issue (got number instead of object) - #13600: Related TUI path handling issue when directory is not properly passed Both issues involve path type validation failures in the TUI during session operations.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9413