An error undefined is not an object (evaluating 'x3.data.id') on macOS 26. #7556

Open
opened 2026-02-16 18:07:34 -05:00 by yindo · 2 comments
Owner

Originally created by @finscn on GitHub (Jan 25, 2026).

Originally assigned to: @rekram1-node on GitHub.

Question

When I run opencode on macOS, there is an error :
undefined is not an object (evaluating 'x3.data.id')

Image

If I use

sudo opencode

It could work.

I install opencode with

curl -fsSL https://opencode.ai/install | bash
Originally created by @finscn on GitHub (Jan 25, 2026). Originally assigned to: @rekram1-node on GitHub. ### Question When I run opencode on macOS, there is an error : `undefined is not an object (evaluating 'x3.data.id')` <img width="715" height="483" alt="Image" src="https://github.com/user-attachments/assets/d3887bb0-1961-41cf-b7de-8563db0730df" /> If I use ``` sudo opencode ``` It could work. I install opencode with ``` curl -fsSL https://opencode.ai/install | bash ```
Author
Owner

@github-actions[bot] commented on GitHub (Jan 25, 2026):

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

  • #10488: system theme causes undefined is not an object error (macOS, theme-related)
  • #10480: TUI crash on macOS with similar error patterns
  • #10214: OpenCode Desktop error on macOS Sequoia (might be platform-specific initialization issue)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 25, 2026): This issue might be a duplicate of existing issues. Please check: - #10488: system theme causes `undefined is not an object` error (macOS, theme-related) - #10480: TUI crash on macOS with similar error patterns - #10214: OpenCode Desktop error on macOS Sequoia (might be platform-specific initialization issue) Feel free to ignore if none of these address your specific case.
Author
Owner

@xuanweiH commented on GitHub (Feb 4, 2026):

I found that it works when using sudo to open, but the projects created with sudo will cause issues with the permissions of subsequent project processes. Have you found a solution for this problem?

@xuanweiH commented on GitHub (Feb 4, 2026): I found that it works when using sudo to open, but the projects created with sudo will cause issues with the permissions of subsequent project processes. Have you found a solution for this problem?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7556