diff --git a/README.md b/README.md index 145f34d6d945..88e1ce6a59b9 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ Minimum browser requirements for viewing the site: Windows installation software requirements: -- [Node.js](http://nodejs.org/) Latest Node 8 LTS (Node 8.15.1 or later) or Node 10 LTS (Node 10.15.2 or later; Node 10.14.1 works for Azure). Use [Install instructions for Node](https://nodejs.org/en/download/package-manager/) or use `setup.sh`) +- [Node.js](http://nodejs.org/) Latest Node 8 LTS (Node 8.15.1 or later) or Node 10 LTS (Node 10.15.3 or later; Node 10.14.1 works for Azure). Use [Install instructions for Node](https://nodejs.org/en/download/package-manager/) or use `setup.sh`) - [MongoDB](https://www.mongodb.com/download-center?jmp=nav#community) 3.x or later. MongoDB 2.4 is only supported for Raspberry Pi. As a non-root user clone this repo then install dependencies into the root of the project: diff --git a/lib/server/bootevent.js b/lib/server/bootevent.js index d7020b9c2762..eacd8dbc1e30 100644 --- a/lib/server/bootevent.js +++ b/lib/server/bootevent.js @@ -18,14 +18,14 @@ function boot (env, language) { // == 9.x does not work, not supported // == 10.14.1 works, not fully supported and not recommended (Azure version) // == 10.14.2 does not work, not supported and not recommended, - // >= 10.15.2 works, supported and recommended - // >= 11.10.1 does work, not recommended, will not be supported. We only support Node LTS releases + // >= 10.15.3 works, supported and recommended + // >= 11.12.0 does work, not recommended, will not be supported. We only support Node LTS releases /////////////////////////////////////////////////// function checkNodeVersion (ctx, next) { var semver = require('semver'); var nodeVersion = process.version; - if ( semver.satisfies(nodeVersion, '^8.15.1') || semver.satisfies(nodeVersion, '^10.15.2')) { + if ( semver.satisfies(nodeVersion, '^8.15.1') || semver.satisfies(nodeVersion, '^10.15.3')) { //Latest Node 8 LTS and Latest Node 10 LTS are recommended and supported. console.debug('Node LTS version ' + nodeVersion + ' is supported'); next(); @@ -36,7 +36,7 @@ function boot (env, language) { console.log('WARNING: Please migrate to another hosting provider. Your Node version is outdated and insecure'); next(); } - else if ( semver.satisfies(nodeVersion, '^11.10.1')) { + else if ( semver.satisfies(nodeVersion, '^11.12.0')) { //Latest Node version console.debug('Node version ' + nodeVersion + ' is not a LTS version. Not recommended. Not supported'); next();