rescript-lang / rescript-lang/rescript-vscode
Rescript Language Server is unable to find node executable with volta
Open
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating how the VSCode extension launches the ReScript Language Server and where its Node executable is resolved. Check the reported /usr/bin/env: ‘node’: No such file or directory scenario with a Volta-managed Node installation. Done means users can configure the Node executable path and the language server starts successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, vscode
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100