runtime: decrease minimum command-line npm version from 6.4 to 5.5

When nodejs 8.9.0 was released, its bundled npm version was 5.5.1 (see
https://nodejs.org/en/download/releases). It makes sense that we lover our
requirement to that version.

Please note that the npm version mentioned here does not refer to the npm
library installed as Etherpad dependency in node_modules via package.json
(which indeed is higher) but is merely the npm version used to bootstrap the
installation when running installDeps.sh.

This change amends 9d35d15ae3 and its planning issue - #3424 - which were too
strict.
pull/3655/head
muxator 2019-10-19 22:38:32 +02:00
parent fc661ee13a
commit 4f753809fe
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ REQUIRED_NODE_MAJOR=8
REQUIRED_NODE_MINOR=9
# minimum required npm version
REQUIRED_NPM_MAJOR=6
REQUIRED_NPM_MINOR=4
REQUIRED_NPM_MAJOR=5
REQUIRED_NPM_MINOR=5
require_minimal_version() {
PROGRAM_LABEL="$1"