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
1 changed files with 14 additions and 8 deletions

View File

@ -2,18 +2,24 @@
<!-- 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
- [Ubuntu, Debian](#ubuntu-debian) - [npm Install Requirements](#npm-install-requirements)
- [Fedora, CentOS, RHEL](#fedora-centos-rhel) - [Ubuntu, Debian](#ubuntu-debian)
- [Alpine](#alpine) - [Fedora, CentOS, RHEL](#fedora-centos-rhel)
- [macOS](#macos) - [Alpine](#alpine)
- [FreeBSD](#freebsd) - [macOS](#macos)
- [FreeBSD](#freebsd)
<!-- 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