jaredly / jaredly/reason-language-server

can't find bs-platform if not installed locally?

Open
#321 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
OCaml
Stars
649
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Following the instructions for installing [reason](https://reasonml.github.io/docs/en/installation) via npm, it suggests installing bs-platform globally.

After installing this extension for VS Code, I run into ["bs-platform could not be found"](https://github.com/jaredly/reason-language-server/blob/master/src/analyze/BuildSystem.re#L82-L105), so I installed it locally and that resolved the issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with src/analyze/BuildSystem.re at the linked lines and reproduce the VS Code extension error using the installation instructions in the issue. Trace how bs-platform is located when installed globally versus locally; done means the extension finds the globally installed package without requiring a local installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, ocaml, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.