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
OpenCode has had issues with Windows network mapping support since a certain version #17749
I use network mapping in Windows to map a WebDAV directory as a local drive (like Y:/), and I open a directory under this drive (Y:/some_dir/) with OpenCode. However, after OpenCode opens this directory, the status bar shows something like \\localhost@40101\DavWWWRoot\ instead of the actual path Y:/some_dir/. This causes frequent errors when I write code in OpenCode (such as file not found, etc.), and even leads to OpenCode crashes.
I remember that in versions of OpenCode before a certain release (maybe v1.2.20?), the status bar displayed the actual path Y:/some_dir/, and I could write code happily without encountering some inexplicable errors.
Due to the fact that opencode crashes shortly after being launched, I am temporarily unable to reproduce errors such as "file editing error" and "file not found". I sincerely apologize for this inconvenience!
Sorry, I haven't been able to reproduce this on my side so far.
I tested a similar setup on Windows with a WebDAV-mapped drive. I also saw the path briefly change to \localhost@40101\DavWWWRoot..., but opencode continued to run normally and did not crash.
At the moment, I can't tell what is different in your environment or which part is failing. I'm sorry that I don't have a more concrete lead yet.
Thank you both for your attention to this issue! I will also try reinstalling opencode or testing on another computer to see if I can gather more information about the problem.
In the latest version (1.3.13), I tried to run opencode in the WebDAV drive (Y:/project/), but got a new error like this:
Error: Unexpected error, check log file at C:\Users\1234\.local\share\opencode\log\2026-04-02T032438.log for more details
Unknown: FileSystem.access (\\localhost@40101\DavWWWRoot\.git)
And the following is the full log content (2026-04-02T032438.log):
INFO 2026-04-02T03:24:38 +646ms service=default version=1.3.13 args=[] opencode
INFO 2026-04-02T03:24:38 +64ms service=default directory=\\localhost@40101\DavWWWRoot\dav\project creating instance
INFO 2026-04-02T03:24:38 +7ms service=project directory=\\localhost@40101\DavWWWRoot\dav\project fromDirectory
ERROR 2026-04-02T03:24:38 +54ms service=default name=PlatformError message=Unknown: FileSystem.access (\\localhost@40101\DavWWWRoot\.git) cause=Error: EIO: i/o error, access '\\localhost@40101\DavWWWRoot\.git' stack=Error
at systemError (B:/~BUN/root/src/index.js:52520:136)
at <anonymous> (B:/~BUN/root/src/index.js:27939:41)
at processTicksAndRejections (native:7:39) fatal
Activity
AbigailJixiangyuyu commentedon Mar 17, 2026
Thanks for the report. Could you provide more detailed reproduction steps, especially for the crash?
In particular, it would help to know:
the specific actions that trigger “file not found” errors,
the exact steps that cause OpenCode to crash,
whether the crash is consistent,
and any logs, screenshots, or error messages.
A minimal reproducible example would be ideal.
woobhurk commentedon Mar 18, 2026
The information of the environment I am using is as follows:
instructions,plugin, oragentconfigured)Y:)The steps I followed are as follows:
pwsh, switch the working directory toY:\z\dcs-cloud-app, and launchopencode.\\localhost@40101\DavWWWRoot\...is displayed in the bottom-left corner of opencode:Due to the fact that opencode crashes shortly after being launched, I am temporarily unable to reproduce errors such as "file editing error" and "file not found". I sincerely apologize for this inconvenience!
AbigailJixiangyuyu commentedon Mar 18, 2026
Sorry, I haven't been able to reproduce this on my side so far.

I tested a similar setup on Windows with a WebDAV-mapped drive. I also saw the path briefly change to \localhost@40101\DavWWWRoot..., but opencode continued to run normally and did not crash.
At the moment, I can't tell what is different in your environment or which part is failing. I'm sorry that I don't have a more concrete lead yet.
Hona commentedon Mar 18, 2026
I will fix this, many path things coming down the pipeline
woobhurk commentedon Mar 19, 2026
Thank you both for your attention to this issue! I will also try reinstalling opencode or testing on another computer to see if I can gather more information about the problem.
woobhurk commentedon Apr 2, 2026
Update:
In the latest version (1.3.13), I tried to run
opencodein the WebDAV drive (Y:/project/), but got a new error like this:And the following is the full log content (
2026-04-02T032438.log):jianlins commentedon May 2, 2026
similar error, cannot open project on network drive folder using web interface.
rekram1-node commentedon Jun 23, 2026
Automated: closing question issues.
GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.
If this is a bug or feature request, please open a new issue with the appropriate template.