summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid Mehren2021-04-25 20:10:46 +0200
committerGitHub2021-04-25 20:10:46 +0200
commitc8e2117452c905a75c4644e4e2c2dea95aaa8f81 (patch)
tree8f70b9b4efba9279f7289ab3024243567c0ef298 /bin
parentdcf72148cebd817399fc0e6067709281fdf2dac9 (diff)
parentd52a43e81110126e900fbeb46f2255c1375520ce (diff)
Merge pull request #1167 from hedgedoc/maintenance/master/remove_node_10
Diffstat (limited to 'bin')
-rwxr-xr-xbin/setup8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/setup b/bin/setup
index 43df07ff..1ab9c393 100755
--- a/bin/setup
+++ b/bin/setup
@@ -23,7 +23,7 @@ fi
if version_lt "$(yarn --version)" '1.22.0'; then
cat << EOF
-FATAL: Your Yarn version is outdated.
+FATAL: Your Yarn version is not supported.
Please upgrade to version 1.22.0 or higher and try again.
See https://classic.yarnpkg.com/en/docs/install for instructions.
@@ -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.
+FATAL: Your Node.js version is not supported.
-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