mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 00:54:43 -04:00
Raise minimum required Node.js version to 12
As Node 10 will be EOL at April 30th, we should stop supporting and/or promoting the usage of that version. See also https://endoflife.date/nodejs Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
5cef3d4ac7
commit
e1df30bd5c
4 changed files with 7 additions and 4 deletions
|
@ -31,11 +31,11 @@ EOF
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if version_lt "$(node --version)" 'v10.13.0'; then
|
||||
if version_lt "$(node --version)" 'v12.0.0'; then
|
||||
cat << EOF
|
||||
FATAL: Your Node.js version is outdated.
|
||||
|
||||
Please upgrade to version 10.13 or higher and try again.
|
||||
Please upgrade to version 12 or higher and try again.
|
||||
We recommend running the latest LTS release, see https://nodejs.org/en/about/releases/ for details.
|
||||
EOF
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue