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
Startup Error: EUNKNOWN: unknown error, lstat '\\wsl.localhost\Ubuntu\' -> The application is no longer usable #23375
────────────────────────────────────────
Verursacht durch:
UnknownError
Error: EUNKNOWN: unknown error, lstat '\wsl.localhost\Ubuntu'
at lstatSync (unknown)
at realpathSync (node:fs:401:27)
at D (B:/~BUN/root/chunk-pjcy6mpw.js:2:17722)
at (B:/~BUN/root/chunk-av7xhdx9.js:14:58708)
at o (B:/~BUN/root/chunk-av7xhdx9.js:2:63198)
at (B:/~BUN/root/chunk-av7xhdx9.js:2:55842)
at async o (B:/~BUN/root/chunk-av7xhdx9.js:2:63198)
at async (B:/~BUN/root/chunk-av7xhdx9.js:2:87850)
at async o (B:/~BUN/root/chunk-av7xhdx9.js:2:63198)
at async (B:/~BUN/root/chunk-av7xhdx9.js:2:88043)
at async o (B:/~BUN/root/chunk-av7xhdx9.js:2:63198)
at async (B:/~BUN/root/chunk-av7xhdx9.js:2:89707)
at async o (B:/~BUN/root/chunk-av7xhdx9.js:2:63198)
at async (B:/~BUN/root/chunk-av7xhdx9.js:2:86123)
at async o (B:/~BUN/root/chunk-av7xhdx9.js:2:63198)
at async (B:/~BUN/root/chunk-av7xhdx9.js:2:71582)
at processTicksAndRejections (native:7:39)`
Plugins
No response
OpenCode version
Version: 1.14.17
Steps to reproduce
Connect to a WSL instance using OpenCode.
Export the WSL instance and delete it using the --unregister option (e.g., the default "Ubuntu" installation).
Restart OpenCode. The absence of the WSL "Ubuntu" instance will result in a startup error, rendering the application unusable.
You can temporarily rename the OpenCode storage folder (e.g., %USERPROFILE%.local\share\opencode for Windows or a similar path in your OS) to bypass the startup crash. This allows you to access the UI with a clean state while keeping your project list intact. Once in the UI, close the specific project that triggers the lstat error. Finally, restore the original folder name to bring back your chat history.
I have since completed the installation. However, it would be nice if one could resume from the point of the error message—for example, by loading a different project.
Activity
JBKing514 commentedon May 8, 2026
You can temporarily rename the OpenCode storage folder (e.g., %USERPROFILE%.local\share\opencode for Windows or a similar path in your OS) to bypass the startup crash. This allows you to access the UI with a clean state while keeping your project list intact. Once in the UI, close the specific project that triggers the lstat error. Finally, restore the original folder name to bring back your chat history.
LaKanDoR commentedon May 8, 2026
thx.
I have since completed the installation. However, it would be nice if one could resume from the point of the error message—for example, by loading a different project.
github-actions commentedon Jul 9, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.