Repository navigation
node shell shim missing in Windows installation node, required for WSL #43861
Description
Activity
- addedfeature requestIssues requesting new Node.js features.Issues requesting new Node.js features.
on Jul 16, 2022 - addedwindowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
on Jul 17, 2022 /cc @nodejs/platform-windows
hrishikesh-kadam commented
on Jul 17, 2022 ContributorAuthorMore actionsThere has been no activity on this feature request for 5 months and it is unlikely to be implemented. It will be closed 6 months after the last non-automated comment.
For more information on how the project manages feature requests, please consult the feature request management document.
- addedstaleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.
on Jan 14, 2023 There has been no activity on this feature request and it is being closed. If you feel closing this issue is not the right thing to do, please leave a comment.
For more information on how the project manages feature requests, please consult the feature request management document.
@avivkeller Why was this removed from feature requests? It is still needed for running windows node.exe from wsl.
I'd be happy to resolve conflicts on #43948 if that's the issueThis issue stale-ed, and thus, was removed
What is the problem this feature will solve?
In the Windows installation of node, shell shim is missing which points to the node.exe required for using from WSL distros.
WSL Ubuntu 22.04 LTS
Git Bash can run the
node --versioncommand without appending .exe to the node as expected.Git Bash
What is the feature you are proposing to solve the problem?
There are two ways to solve this issue.
WSL Ubuntu 22.04 LTS -> Run as administrator
Command Prompt -> Run as administrator
WSL Ubuntu 22.04 LTS
What alternatives have you considered?
Installing node natively on WSL obviously solves the issue but it causes double dependencies of the core software and global packages, one on Windows and the other inside WSL.