Repository navigation
Description
Description
A RangeError occurs in the browser when accessing the OpenCode server UI. The error persists even after attempting to reset the service environment and using a clean workspace.
Environment
OpenCode Version: 1.1.33
Deployment: opencode serve running on Linux (Systemd user service)
Error Details
Error Message: RangeError: Maximum call stack size exceeded
Stack Trace:
Plaintext
at R0 (http://127.0.0.1:4096/assets/index-Bj9zfj-u.js:2:6834)
at pa (http://127.0.0.1:4096/assets/index-Bj9zfj-u.js:2:6591)
at Jc (http://127.0.0.1:4096/assets/index-Bj9zfj-u.js:2:8001)
at Y5 (http://127.0.0.1:4096/assets/index-Bj9zfj-u.js:2:8969)
at http://127.0.0.1:4096/assets/index-Bj9zfj-u.js:2:8823
at yr (http://127.0.0.1:4096/assets/index-Bj9zfj-u.js:2:8175)
at X5 (http://127.0.0.1:4096/assets/index-Bj9zfj-u.js:2:8816)
at yr (http://127.0.0.1:4096/assets/index-Bj9zfj-u.js:2:8186)
at X5 (http://127.0.0.1:4096/assets/index-Bj9zfj-u.js:2:8816)
at yr (http://127.0.0.1:4096/assets/index-Bj9zfj-u.js:2:8186)
Steps to Reproduce
Start the server using opencode serve.
Open the UI in a browser (tried Incognito mode to bypass cache).
The application fails to load, showing the error modal immediately.
Additional Context
The error was initially suspected to be related to recursive symlinks or complex file structures in the workspace. However, the issue remains even when pointed to a completely empty directory using WorkingDirectory in the Systemd unit. This suggests a possible infinite loop in the frontend asset (index-Bj9zfj-u.js) during the initial state hydration or component rendering.
Plugins
None
OpenCode version
OpenCode Version: 1.1.33
Steps to reproduce
Start the server using opencode serve.
Open the UI in a browser (tried Incognito mode to bypass cache).
The application fails to load, showing the error modal immediately.
Screenshot and/or share link
Operating System
ubuntu 22.04
Terminal
bash
Activity
github-actions commentedon Jan 23, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if this is a different variant or use case of the issue.
avimehenwal commentedon Jan 23, 2026
Can confirm same issue on Mac using zsh shell as well
LeonMueller-OneAndOnly commentedon Jan 23, 2026
Same error on macOS
I'm experiencing the exact same issue when trying to open the web UI:
Environment:
index-Bj9zfj-u.jsyrandX5functionsThis confirms the issue is not specific to Linux/Ubuntu and affects multiple platforms.
github-actions commentedon Mar 26, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.