opencode [object Object] #4209

Closed
opened 2026-02-16 17:43:01 -05:00 by yindo · 6 comments
Owner

Originally created by @guotie on GitHub (Jan 4, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

>opencode
[object Object]

why?

node -v
v24.5.0

Plugins

No response

OpenCode version

1.1.1

Steps to reproduce

No response

Operating System

Mac

Terminal

Ghosty 1.2.3

Originally created by @guotie on GitHub (Jan 4, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description ``` >opencode [object Object] ``` why? node -v v24.5.0 ### Plugins _No response_ ### OpenCode version 1.1.1 ### Steps to reproduce _No response_ ### Operating System Mac ### Terminal Ghosty 1.2.3
yindo added the bug label 2026-02-16 17:43:01 -05:00
yindo closed this issue 2026-02-16 17:43:02 -05:00
Author
Owner

@guotie commented on GitHub (Jan 4, 2026):

seems problem with ghosty, it's ok in vscode terminal

@guotie commented on GitHub (Jan 4, 2026): seems problem with ghosty, it's ok in vscode terminal
Author
Owner

@limboinf commented on GitHub (Jan 4, 2026):

The same issue, after opening opencode in Ghosty and closing it, neither Ghosty nor warp can open opencode anymore. Error message: [object Object]

node v25.2.1
Ghosty 1.2.3

@limboinf commented on GitHub (Jan 4, 2026): The same issue, after opening opencode in Ghosty and closing it, neither Ghosty nor warp can open opencode anymore. Error message: [object Object] node v25.2.1 Ghosty 1.2.3
Author
Owner

@rekram1-node commented on GitHub (Jan 5, 2026):

can u do --print-logs?

Maybe try:

opencode run hello --print-logs

Do you have a network proxy by chance? did you follow the proxy guide in docs?

@rekram1-node commented on GitHub (Jan 5, 2026): can u do `--print-logs`? Maybe try: `opencode run hello --print-logs` Do you have a network proxy by chance? did you follow the proxy guide in docs?
Author
Owner

@cjrujo commented on GitHub (Jan 5, 2026):

I have same issue and after read @rekram1-node 's hint, I figure out it suppose to be the communication of frontend and backend through different proxy.

Since I am working under proxy, so I set a NO_PROXY in the system variable and it works.
Variable name: NO_PROXY
Variable value: localhost,127.0.0.1

@cjrujo commented on GitHub (Jan 5, 2026): I have same issue and after read @rekram1-node 's hint, I figure out it suppose to be the communication of frontend and backend through different proxy. Since I am working under proxy, so I set a NO_PROXY in the system variable and it works. Variable name: NO_PROXY Variable value: localhost,127.0.0.1
Author
Owner

@limboinf commented on GitHub (Jan 5, 2026):

After trying to reset the PROXY, it's working normally now.
https://opencode.ai/docs/network/

@limboinf commented on GitHub (Jan 5, 2026): After trying to reset the PROXY, it's working normally now. https://opencode.ai/docs/network/
Author
Owner

@guotie commented on GitHub (Jan 5, 2026):

yes, it's network problem. set proxy works ok.

but i thinks there may be error log instead of [object Object]

@guotie commented on GitHub (Jan 5, 2026): yes, it's network problem. set proxy works ok. but i thinks there may be error log instead of `[object Object]`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4209