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

Rescript Language Server is unable to find node executable with volta #1038

Open
bgenia opened this issue Sep 24, 2024 · 3 comments
Open

Rescript Language Server is unable to find node executable with volta #1038

bgenia opened this issue Sep 24, 2024 · 3 comments

Comments

@bgenia
Copy link

bgenia commented Sep 24, 2024

I'm using volta to manage Node installations and getting this error from Rescript LSP in VSCode logs:

/usr/bin/env: ‘node’: No such file or directory

AFAIK this is a common issue and can be fixed by allowing to configure node executable path.

@jamessouth
Copy link

I use fnm and I'm also getting this with release 1.60. My $PATH already includes the node executable, so I rolled back to release 1.58 and that fixed it.

@zth
Copy link
Collaborator

zth commented Dec 31, 2024

Interesting, I don't think there were any related changes between 1.58 and 1.60. Might be worth debugging a bit further.

@jamessouth
Copy link

I just went through the commits since 1.58 hoping to find a smoking gun but nothing stood out.

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

3 participants