-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
"open folder in container" results in error "bad option: --ms-enable-electron-run-as-node" #202096
Comments
Full output:
|
The same is happening for me on OSX
I am not able to run any dev containers today as a result. |
seems related to: fb76955 |
@deepak1556 I will remove '--ms-enable-electron-run-as-node' as option from the scripts in WSL, but it might be better to only show a warning, and not result in an error. |
The WSL extension does not use |
/fixedWith https://github.com/microsoft/vscode-remote-containers/pull/714 Please try with the latest pre-release of the containers extension. |
Fixed in Dev Containers 0.331.0-pre-release. |
Thanks for the speedy fix! Upgrading Dev containers to the pre-release version (today) fixed the issue for me. |
Dev Container v0.331.0 and Nightly VSCode update has resolved this for me as well. |
Had same issue - switching to pre-release version of extension also fixed it for me. Thx. |
wow I almost lost a day of work due to this... started to fail from one moment to the other...
never again. |
@bandinopla Sorry to hear that, note that the setting you mention doesn't turn off automatic updates, it only changes how updates are applied on Windows. The setting to turn automatic updates for VS Code itself off is If you want to give the new version another try, make sure you also update the Dev Containers extension to its latest version. (This should have happened automatically, but automatic updates for extensions can also be turned off in the settings.) |
For anyone stumbling on this after applying an update, sometimes all you need to do is go to the extensions tab, check if 'reload required' for the extension exists, if so, click on it to reload VS Code. I ran into this issue after a recent
|
Type: Bug
log results:
Note that all existing WSL based projects show similar results. This is just an example of how to reproduce. This also worked correctly prior to today's update.
VS Code version: Code - Insiders 1.86.0-insider (fb76955, 2024-01-09T09:57:14.563Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (41)
The text was updated successfully, but these errors were encountered: