Skip to content

Node command in WSL in pwsh terminal in Insiders does not work #252689

Open
@AdamWr

Description

@AdamWr

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
Version: 1.102.0-insider (user setup)
Commit: b68fa590ef54bc8f07dd79cd3175bf78e0113d4c
Date: 2025-06-27T05:03:40.827Z
Electron: 35.5.1
ElectronBuildId: 11727614
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Windows_NT x64 10.0.26100
  • OS Version: Windows 11

Steps to Reproduce:

  1. Connect to WSL
  2. Open pwsh terminal
  3. Run node -v

It throws error:

node: The term 'node' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

It works correctly in bash and it also works fine in stable build in pwsh.
There is also no problem outside WSL.
3 days ago it was working correctly.

VSCode stable

Image

VSCode Insiders

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions