rescript-vscode
rescript-vscode copied to clipboard
Rescript Language Server is unable to find node executable with volta
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.
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.
Interesting, I don't think there were any related changes between 1.58 and 1.60. Might be worth debugging a bit further.
I just went through the commits since 1.58 hoping to find a smoking gun but nothing stood out.