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
Docs cannot be added with Ubuntu on WSL (Windows 11) #6242
- OS: Ubuntu on WSL (Windows 11)
- Continue version: 1.0.14
- IDE version: VS Code 1.101.1
- Model: gemma3:latest (from Ollama)
- workspace/.continue/docs/new_doc.yaml:
name: New doc
version: 0.0.1
schema: v1
docs:
- name: New docs
startUrl: https://docs.continue.dev
Description
YAML file exists in .continue/docs directory in my workspace, but can't be read. This might be some path issue specific to Windows + WSL, but I cannot come up with a resolution. Can Continue.dev handle it by itself?
ENOENT: no such file or directory, open 'C:\Users\chaud\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\wsl%2Bubuntu\mnt\e\project\.continue\docs\new-doc.yaml'.
> vscode-remote://wsl%2Bubuntu/mnt/e/project/.continue/docs/new-doc.yaml
Thanks for sharing this @fctlb. I think we saw this earlier this week and are working on solving it, if there's not already a PR. @jpoly1219 I think you would know the status of this, could you share whatever extra context you have here?
This is reproducible on my machine when I use local assistant (which matches @fctlb 's setup).
The paths seem to be valid actually -- C:\Users\username\AppData\Local\Programs\Microsoft VS Code\ is where vscode is installed on windows. Then the rest of it signifies a bridge to vscode's remote server. The issue is that Node has no idea how to interpret this. I think this is a mix of vscode-specific methods and node-specific methods clashing, and we need to do some more thorough checks and programmatic path resolution when we detect the target system is running WSL.
However it's pretty difficult to test this on WSL because:
running the extension in debug mode solves this because the filepaths correctly resolve to linux paths somehow.
running npm run package inside wsl gives us a linux build, which doesn't install properly on windows
setting the build target to win32 does not work, it automatically reverts back to linux. I think it has to do with how it's prepackage that's actually being ran, not package.
changing the build script to always use win32 doesn't work because some dependencies (I think it was sqlite3) fails to build)
@jpoly1219 is there a way I can enabled using the extension (the debug mode you mentioned about), this is currently a blocker for some learning tutorials and documentation I am working on
I have the same problem when trying to run the locally configured MCPs within my project in .continue/mcpServers.
Explanation: My current project is within the WSL environment, and VS Code is installed on Windows. I have the following error:
ENOENT: no such file or directory, open 'C:\Users\merie\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\wsl%2Bdebian\home\merieli\projects\meraki-shop\.continue\mcpServers\playwright-mcp.yaml'. > vscode-remote://wsl%2Bdebian/home/merieli/projects/meraki-shop/.continue/mcpServers/playwright-mcp.yaml
In other words, the extension can't resolve the path to the .continue settings within a project that exists within WSL.
Yeah me too, the docs feature just doesn't work without sorting this out
`'C:\Users\John Allen\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\wsl%2Bubuntu\home\dev\jabba\portcullis.continue\docs\radius-server-reference.yaml'.
I have the same!!! trying to configure, servers, prompts. the problem I think is the enviroment, try to use a windows path, try to find the project on windows path, merging both paths, linux and windows o.O
Activity
sestinj commentedon Jun 23, 2025
Thanks for sharing this @fctlb. I think we saw this earlier this week and are working on solving it, if there's not already a PR. @jpoly1219 I think you would know the status of this, could you share whatever extra context you have here?
jpoly1219 commentedon Jun 24, 2025
This is reproducible on my machine when I use local assistant (which matches @fctlb 's setup).
The paths seem to be valid actually --
C:\Users\username\AppData\Local\Programs\Microsoft VS Code\is where vscode is installed on windows. Then the rest of it signifies a bridge to vscode's remote server. The issue is that Node has no idea how to interpret this. I think this is a mix of vscode-specific methods and node-specific methods clashing, and we need to do some more thorough checks and programmatic path resolution when we detect the target system is running WSL.However it's pretty difficult to test this on WSL because:
npm run packageinside wsl gives us a linux build, which doesn't install properly on windowsjpoly1219 commentedon Jun 24, 2025
@sestinj if you can help me figure out the build script inside
extensions/vscodethen I can take this 👍factlab-ai commentedon Jun 26, 2025
@jpoly1219 is there a way I can enabled using the extension (the debug mode you mentioned about), this is currently a blocker for some learning tutorials and documentation I am working on
CC: @sestinj
jpoly1219 commentedon Jun 27, 2025
@fctlb what you could do (and tell me if this works) is:
.continue/docs/your_docs.mdin your project repo.CONTRIBUTING.mdLet me know how that goes!
ben-dodd-dev commentedon Jul 17, 2025
I also receive the
ENOENT: no such file or directoryerror when configuring an MCP server that is on the WSL instance.Merieli commentedon Aug 14, 2025
I have the same problem when trying to run the locally configured MCPs within my project in
.continue/mcpServers.Explanation: My current project is within the WSL environment, and VS Code is installed on Windows. I have the following error:
In other words, the extension can't resolve the path to the
.continuesettings within a project that exists within WSL.Any estimate for when we'll have this fix?
jballn commentedon Sep 11, 2025
Yeah me too, the docs feature just doesn't work without sorting this out
`'C:\Users\John Allen\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\wsl%2Bubuntu\home\dev\jabba\portcullis.continue\docs\radius-server-reference.yaml'.
NicolaSpreafico commentedon Sep 14, 2025
I'm getting the same problem, trying to define prompts/myprompt.yamml and the path is wrong as other users
joneldiablo commentedon Sep 17, 2025
I have the same!!! trying to configure, servers, prompts. the problem I think is the enviroment, try to use a windows path, try to find the project on windows path, merging both paths, linux and windows o.O
hamed3d commentedon Nov 6, 2025
Same issue
fix: pass pre-read content to RegistryClient for WSL compatibility
fix: pass pre-read content to RegistryClient for WSL compatibility
fix: pass pre-read content to RegistryClient for WSL compatibility
sestinj commentedon Jan 31, 2026
🎉 This issue has been resolved in version 1.40.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
fix: pass pre-read content to RegistryClient for WSL compatibility (c…