error: permission error when trying to execute web ui #3986

Open
opened 2026-02-16 17:42:11 -05:00 by yindo · 8 comments
Owner

Originally created by @HicaroD on GitHub (Dec 29, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Description

When I try to execute the web ui in my project, it crashes the application without providing me any useful information for debugging.

Tested on:

  • Firefox 146.0.1
  • Safari 26.2

OpenCode version

1.0.196

Steps to reproduce

  1. Start opencode
  2. Open web ui from the list of the commands
  3. It opens a local server (http://127.0.0.1:4096/)
  4. I select a project
  5. It crashes (Something went wrong) (logs below)

Note: sometimes I don't even need to select a project, it crashes instantly when the web UI launches in my browser

Logs:

LY/g/permission/</</<@http://127.0.0.1:4096/assets/index-W-ihS5vg.js:1695:14588
LY/g/permission/</<@http://127.0.0.1:4096/assets/index-W-ihS5vg.js:1695:14576
on@http://127.0.0.1:4096/assets/index-W-ihS5vg.js:2:6311
dt@http://127.0.0.1:4096/assets/index-W-ihS5vg.js:2:3300
LY/g/permission/<@http://127.0.0.1:4096/assets/index-W-ihS5vg.js:1695:14437

Screenshot and/or share link

Image

Operating System

macOS 26.2

Terminal

Alacritty

Originally created by @HicaroD on GitHub (Dec 29, 2025). Originally assigned to: @adamdotdevin on GitHub. ### Description When I try to execute the web ui in my project, it crashes the application without providing me any useful information for debugging. Tested on: - Firefox 146.0.1 - Safari 26.2 ### OpenCode version 1.0.196 ### Steps to reproduce 1. Start `opencode` 2. Open web ui from the list of the commands 3. It opens a local server (`http://127.0.0.1:4096/`) 4. I select a project 5. It crashes (`Something went wrong`) (logs below) *Note: sometimes I don't even need to select a project, it crashes instantly when the web UI launches in my browser* Logs: ``` LY/g/permission/</</<@http://127.0.0.1:4096/assets/index-W-ihS5vg.js:1695:14588 LY/g/permission/</<@http://127.0.0.1:4096/assets/index-W-ihS5vg.js:1695:14576 on@http://127.0.0.1:4096/assets/index-W-ihS5vg.js:2:6311 dt@http://127.0.0.1:4096/assets/index-W-ihS5vg.js:2:3300 LY/g/permission/<@http://127.0.0.1:4096/assets/index-W-ihS5vg.js:1695:14437 ``` ### Screenshot and/or share link <img width="2940" height="1912" alt="Image" src="https://github.com/user-attachments/assets/2aa5d50e-197f-4fdb-b823-d41336907ef4" /> ### Operating System macOS 26.2 ### Terminal Alacritty
yindo added the bugweb labels 2026-02-16 17:42:11 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 29, 2025):

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

  • #6307: Cannot 'open project' in Web mode - Similar project selection crash
  • #6391: TypeError: Cannot read properties of undefined (reading 'localeCompare') in sort operations - Similar web UI crashes

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

@github-actions[bot] commented on GitHub (Dec 29, 2025): This issue might be a duplicate of existing issues. Please check: - #6307: Cannot 'open project' in Web mode - Similar project selection crash - #6391: TypeError: Cannot read properties of undefined (reading 'localeCompare') in sort operations - Similar web UI crashes Feel free to ignore if none of these address your specific case.
Author
Owner

@HicaroD commented on GitHub (Dec 29, 2025):

If you guys identify this as an actual bug, I would love to take a closer look at this and contribute to the project.

@HicaroD commented on GitHub (Dec 29, 2025): If you guys identify this as an actual bug, I would love to take a closer look at this and contribute to the project.
Author
Owner

@adamdotdevin commented on GitHub (Dec 30, 2025):

Can you upgrade to latest and see if this is still an issue?

@adamdotdevin commented on GitHub (Dec 30, 2025): Can you upgrade to latest and see if this is still an issue?
Author
Owner

@HicaroD commented on GitHub (Dec 30, 2025):

Upgrading with opencode upgrade does not work as expected on my macOS. It shows everything went great, but when I open it, it stops in the version 1.0.96, but the expected version is 1.0.218 by the time I am writing this comment.

I had to use the curl -fsSL https://opencode.ai/install | bash to make it work.

But, anyways, it is working now on version 1.0.218

@HicaroD commented on GitHub (Dec 30, 2025): Upgrading with `opencode upgrade` does not work as expected on my macOS. It shows everything went great, but when I open it, it stops in the version `1.0.96`, but the expected version is `1.0.218` by the time I am writing this comment. I had to use the `curl -fsSL https://opencode.ai/install | bash` to make it work. But, anyways, it is working now on version `1.0.218`
Author
Owner

@adamdotdevin commented on GitHub (Jan 2, 2026):

@HicaroD what installation method were you using prior to the curl method?

@adamdotdevin commented on GitHub (Jan 2, 2026): @HicaroD what installation method were you using prior to the curl method?
Author
Owner

@HicaroD commented on GitHub (Jan 2, 2026):

I believe Homebrew.
Now, I just removed it using brew uninstall opencode and now I am just using the curl command.

@HicaroD commented on GitHub (Jan 2, 2026): I believe Homebrew. Now, I just removed it using `brew uninstall opencode` and now I am just using the `curl` command.
Author
Owner

@HicaroD commented on GitHub (Jan 2, 2026):

There is a new problem in the version 1.0.223.
When I use opencode web, I got a black screen and that's it:

Image

Here is what my network section has:

Image

No logs in the terminal whatsoever.

Shall we move this discussion to a new issue?

@HicaroD commented on GitHub (Jan 2, 2026): There is a new problem in the version `1.0.223`. When I use `opencode web`, I got a black screen and that's it: <img width="2940" height="1848" alt="Image" src="https://github.com/user-attachments/assets/cb1f32d1-03ab-4e33-9c9d-46c3f477109b" /> Here is what my network section has: <img width="2928" height="286" alt="Image" src="https://github.com/user-attachments/assets/2b2bdc5f-2761-46bf-a572-bf55844150a7" /> No logs in the terminal whatsoever. Shall we move this discussion to a new issue?
Author
Owner

@HicaroD commented on GitHub (Jan 2, 2026):

By the time I am writing this comment, I've tried to reproduce this bug using the latest changes from dev branch, and it works pretty well there:

Image
@HicaroD commented on GitHub (Jan 2, 2026): By the time I am writing this comment, I've tried to reproduce this bug using the latest changes from `dev` branch, and it works pretty well there: <img width="2940" height="1912" alt="Image" src="https://github.com/user-attachments/assets/5dd697d8-6f6a-4f32-b19c-f05b2a14672f" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3986