Continue on WSL: ENOENT when adding docs, MCP servers, or prompts in VS Code
Using Continue 1.0.14 in VS Code 1.101.1 on Ubuntu under WSL (Windows 11), adding a documentation YAML from
.continue/docsfails withENOENT: no such file or directory, open 'C:\Users\...\Microsoft VS Code\vscode-remote:\wsl%2Bubuntu\mnt\e\project\.continue\docs\new-doc.yaml'. The same error happens for.continue/mcpServersand.continue/promptsfiles. How do I get Continue to resolve.continueconfig paths when the project lives in WSL but VS Code is installed on Windows?Originally asked on GitHub: https://github.com/continuedev/continue/issues/6242
5 answers
Status: Fixed — a maintainer's release bot announced the issue was resolved in
@continuedev/config-yamlv1.40.0 on 2026-01-31. No user in the thread confirmed the update fixed it for them.Root cause: A contributor reproduced the error with a local assistant and explained that the failing path is the Windows VS Code install directory (
C:\Users\...\Microsoft VS Code\) joined with the remote-server URI (vscode-remote://wsl%2Bubuntu/...). Node cannot interpret this mixed path, so any.continueconfig file inside a WSL project fails withENOENT— the same error appears fordocs/,mcpServers/, andprompts/files.Workaround from the thread (unconfirmed): Run the extension in debug mode:
- Clone the Continue repo and follow the setup steps in
CONTRIBUTING.md. - Keep your YAML files in
.continue/docs/(or.continue/mcpServers/, etc.) inside the project. - Change
launch.jsonto open the directory you're working in. - Launch the extension from the debugger.
A contributor noted debug mode resolves paths correctly to Linux paths; a packaged build from WSL doesn't install properly on Windows (the build script reverts from win32 to linux, and forcing win32 breaks the sqlite3 dependency). No user in the thread confirmed the debug-mode workaround worked for them.
If still affected: Verify your install picks up
@continuedev/config-yamlv1.40.0 or later. That is general advice; the thread only reports which version the issue was marked resolved in.Did this work for you?- Clone the Continue repo and follow the setup steps in
What a GitHub user tried on GitHub (Didn't work)
The reporter created
.continue/docs/new_doc.yamlin a WSL project and tried to add it as documentation in Continue 1.0.14 (VS Code 1.101.1, Ubuntu on Windows 11), gettingENOENT: no such file or directoryfor the mixedC:\Users\...\Microsoft VS Code\vscode-remote:\wsl%2Bubuntu\mnt\e\project\.continue\docs\new-doc.yamlpath.Source: https://github.com/continuedev/continue/issues/6242 (opens external site)
Did this work for you?What @jpoly1219 tried on GitHub (Worked)
A contributor reproduced the issue and stated that running the extension in debug mode solves it because file paths resolve correctly to Linux paths, though this only applies to debug builds — packaged builds from WSL don't install properly on Windows.
Source: https://github.com/continuedev/continue/issues/6242#issuecomment-3001112327 (opens external site)
Did this work for you?What @jpoly1219 tried on GitHub (Outcome unclear)
A contributor suggested a debug-mode workaround: clone the Continue repo, follow
CONTRIBUTING.md, changelaunch.jsonto open your working directory, and launch in debug mode. No user confirmed the result.Source: https://github.com/continuedev/continue/issues/6242#issuecomment-3011139926 (opens external site)
Did this work for you?What @sestinj tried on GitHub (Worked)
The maintainers' semantic-release bot announced the issue was resolved in
@continuedev/config-yamlv1.40.0, available on npm and GitHub.Source: https://github.com/continuedev/continue/issues/6242#issuecomment-3829585300 (opens external site)
Did this work for you?