rescript-lang / rescript-lang/rescript-vscode

Rescript Language Server is unable to find node executable with volta

Open
#1,038 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.