Skip to content

Commit 6fb3374

Browse files
committed
Update minimum Node version to 8.
1 parent 4b7a901 commit 6fb3374

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/create-react-app/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if (major < 4) {
4848
'You are running Node ' +
4949
currentNodeVersion +
5050
'.\n' +
51-
'Create React App requires Node 4 or higher. \n' +
51+
'Create React App requires Node 8 or higher. \n' +
5252
'Please update your version of Node.'
5353
)
5454
);

tasks/local-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function print_help {
88
echo "Usage: ${0} [OPTIONS]"
99
echo ""
1010
echo "OPTIONS:"
11-
echo " --node-version <version> the node version to use while testing [6]"
11+
echo " --node-version <version> the node version to use while testing [8]"
1212
echo " --git-branch <branch> the git branch to checkout for testing [the current one]"
1313
echo " --test-suite <suite> which test suite to use ('simple', installs', 'kitchensink', 'all') ['all']"
1414
echo " --interactive gain a bash shell after the test run"
@@ -18,7 +18,7 @@ function print_help {
1818

1919
cd $(dirname $0)
2020

21-
node_version=6
21+
node_version=8
2222
current_git_branch=`git rev-parse --abbrev-ref HEAD`
2323
git_branch=${current_git_branch}
2424
test_suite=all

0 commit comments

Comments
 (0)