Skip to content

Commit 81852f6

Browse files
Merge #780
780: Mention node.js requirement in readme r=DJMcNab a=Matthias247 I tried building rust-analyzer according to the instructions, but it failed with a very non-descriptive error: > will run: npm ci > Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } It took me a while to figure out I had an outdated node version installed, which didn't support `npm ci`. I think mentioning the requirement explicitly might prevent others from running into the same issue. Co-authored-by: Matthias Einwag <matthias.einwag@live.com>
2 parents ffd407a + 943c064 commit 81852f6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

editors/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
To install experimental VS Code plugin:
1+
2+
Preqrequisites:
3+
4+
In order to build the VS Code plugin, you need to have node.js and npm with
5+
a minimum version of 10 installed. Please refer to
6+
[node.js and npm documentation](https://nodejs.org) for installation instructions.
7+
8+
The experimental VS Code plugin can then be built and installed by executing the
9+
following commands:
210

311
```
412
$ git clone https://github.com/rust-analyzer/rust-analyzer.git --depth 1

0 commit comments

Comments
 (0)