diff --git a/docs/npm.md b/docs/npm.md index e29ff12b..aa93be02 100644 --- a/docs/npm.md +++ b/docs/npm.md @@ -10,10 +10,15 @@ -If you're installing the npm module you'll need certain dependencies to build -the native modules used by VS Code. +If you're installing the npm module you'll need certain dependencies to build the native modules used by VS Code. -You also need at least node v12 installed. See [#1633](https://github.com/cdr/code-server/issues/1633). +- Node.js: version `>= 12`, `<= 14` + +_Note: the Node.js version requirements are based on the VS Code Node.js requirements. See [here](https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites)._ + +Related: + +- [#1633](https://github.com/cdr/code-server/issues/1633) ## Ubuntu, Debian diff --git a/package.json b/package.json index 490583a0..dcfcad5c 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "browser-ide" ], "engines": { - "node": ">= 12" + "node": ">= 12 <= 14" }, "jest": { "transform": {