You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RangeError: Maximum call stack size exceeded in Web UI during initialization #10194
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)
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.
I'm experiencing the exact same issue when trying to open the web UI:
RangeError: Maximum call stack size exceeded
at R0 (http://localhost:4096/assets/index-Bj9zfj-u.js:2:6834)
at pa (http://localhost:4096/assets/index-Bj9zfj-u.js:2:6591)
at Jc (http://localhost:4096/assets/index-Bj9zfj-u.js:2:8001)
at Y5 (http://localhost:4096/assets/index-Bj9zfj-u.js:2:8969)
at http://localhost:4096/assets/index-Bj9zfj-u.js:2:8823
at yr (http://localhost:4096/assets/index-Bj9zfj-u.js:2:8175)
at X5 (http://localhost:4096/assets/index-Bj9zfj-u.js:2:8816)
at yr (http://localhost:4096/assets/index-Bj9zfj-u.js:2:8186)
at X5 (http://localhost:4096/assets/index-Bj9zfj-u.js:2:8816)
at yr (http://localhost:4096/assets/index-Bj9zfj-u.js:2:8186)
Environment:
OS: macOS (darwin)
Same asset file: index-Bj9zfj-u.js
Same stack trace pattern showing recursive calls between yr and X5 functions
This confirms the issue is not specific to Linux/Ubuntu and affects multiple platforms.
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.