Skip to content
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

[FEATURE] Detect Node.js installation from WSL #39

Open
beckermarc opened this issue Aug 8, 2024 · 3 comments
Open

[FEATURE] Detect Node.js installation from WSL #39

beckermarc opened this issue Aug 8, 2024 · 3 comments
Assignees

Comments

@beckermarc
Copy link

Description

I am using Windows and develop / run my projects in WSL. I also have Node.js installed in WSL and it is present in my user's path there. Unfortunately the CDS plugin doesn't detect Node.js in this scenario from my WSL distribution. As I don't have Node.js installed on my Windows machine directly I get an error from the plugin, that it can't find Node.js

Suggested Solution

I'd expect the Node.js installation from WSL to be found and used.

Alternatives

No response

Additional Context

No response

@tim-sh tim-sh self-assigned this Sep 5, 2024
@tim-sh
Copy link
Member

tim-sh commented Sep 5, 2024

Hi @beckermarc, is your IDE installed in WSL or in Windows itself? Would you be able to influence the PATH the IDE is started with?

@beckermarc
Copy link
Author

The IDE is installed in Windows itself. It internally connects to WSL (terminal, build, etc. is run there).
I don't think I can reasonably adjust the PATH to point to a unix-based binary installed in WSL.

@tim-sh
Copy link
Member

tim-sh commented Sep 6, 2024

We now have a backlog item for automatic/manual selection of the local Node installation instead of having to set the PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants