docs(npm): update node requirements

This commit is contained in:
Joe Previte 2021-03-09 11:20:14 -07:00
parent f70a73bb89
commit 81cf111794
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -2,6 +2,7 @@
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
# npm Install Requirements # npm Install Requirements
- [npm Install Requirements](#npm-install-requirements)
- [Ubuntu, Debian](#ubuntu-debian) - [Ubuntu, Debian](#ubuntu-debian)
- [Fedora, CentOS, RHEL](#fedora-centos-rhel) - [Fedora, CentOS, RHEL](#fedora-centos-rhel)
- [Alpine](#alpine) - [Alpine](#alpine)
@ -10,10 +11,15 @@
<!-- END doctoc generated TOC please keep comment here to allow auto update --> <!-- END doctoc generated TOC please keep comment here to allow auto update -->
If you're installing the npm module you'll need certain dependencies to build If you're installing the npm module you'll need certain dependencies to build the native modules used by VS Code.
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 ## Ubuntu, Debian