Bump to new LTS version 16 node

This commit is contained in:
Matt Godbolt
2022-01-10 22:38:43 -06:00
parent bf9d2334b9
commit eabfdca2fc
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ Assuming you have a compatible version of `node` installed, on Linux simply runn
on your local machine: [http://localhost:10240/](http://localhost:10240/). If this doesn't work for you, please contact
us, as we consider it important you can quickly and easily get running.
Currently, **Compiler Explorer**
requires [`node` 14 _(LTS version)_](CONTRIBUTING.md#node-version) installed, either on the path or at `NODE_DIR`
requires [`node` 16 _(LTS version)_](CONTRIBUTING.md#node-version) installed, either on the path or at `NODE_DIR`
(an environment variable or `make` parameter).
Running with `make EXTRA_ARGS='--language LANG'` will allow you to load

View File

@@ -25,7 +25,7 @@ find_node() {
NODE="$(find_node)"
NODE_MIN_VERSION=14
NODE_VERSION_USED=14
NODE_VERSION_USED=16
NODE_VERSION=$(${NODE} --version)
NODE_MAJOR_VERSION=$(echo "${NODE_VERSION}" | cut -f1 -d. | sed 's/^v//g')