summaryrefslogtreecommitdiff
path: root/bin/setup
diff options
context:
space:
mode:
Diffstat (limited to 'bin/setup')
-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