-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VsCode in remote a wsl2ubuntu : Can't run yarn tasks since 1.62.1 #136799
Comments
Just updated and yes, tasks no longer run in remote linux machine via ssh. |
I believe that v1.62.1 is causing serious regressions for people on WSL2 Ubuntu. I've just filed #136809 accordingly as well. |
I'm getting the same issue. I reverted back to 1.61.2 and it's working again. |
Same here with configuration {
"version": "2.0.0",
"tasks": [
{
"label": "Build (Watching)",
"type": "npm",
"script": "build",
"problemMatcher": [
"$tsc-watch"
],
"isBackground": true
}
]
}
it shows error like:
|
Duplicate of #136791 |
Issue Type: Bug
Hi everyone !
Since 1.62.1, none of my tasks can run anymore.
I'm running VSCode in windows, tied with a wsl2 ubuntu container.
Yarn is installed on my windows machine, but it can be run from the integrated linux terminal.
In the integrated terminal, yarn --help runs just fine.
But if I run a task that dose pretty much the same thing, I get the following error:
/mnt/c/Users/EXT-Julien.Teyteau/AppData/Roaming/npm/yarn: 11: exec: node: not found
Échec du lancement du processus de terminal "zsh '-c', 'yarn back start --watch'" (code de sortie : 127).
I think it may be because $wsl\Ubuntu\mnt\c is not accessible from within windows (and yarn is only installed in windows, not within Ubuntu container). Maybe it's something else. It's probably linked to a security fix.
If it's how things are supposed to run from now, what should I do to prevent that error? Am I supposed to install yarn in the container or is there a more convenient way to prevent that error?
VS Code version: Code 1.62.1 (f4af3cb, 2021-11-05T10:57:55.946Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Remote OS version: Linux x64 5.10.43.3-microsoft-standard-WSL2
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (19)
A/B Experiments
The text was updated successfully, but these errors were encountered: