diff --git a/docs/npm.md b/docs/npm.md index e29ff12b3..aa93be02e 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 490583a05..dcfcad5c5 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "browser-ide" ], "engines": { - "node": ">= 12" + "node": ">= 12 <= 14" }, "jest": { "transform": {