Skip to content

Commit

Permalink
Soften the requirements on nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc committed Jun 3, 2020
1 parent 2a525a9 commit 44b13d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/check-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo Checking environment

check_tool yarn
check_tool node
node --version | grep "v10.20.1" > /dev/null || (echo "ERROR, node.js version 10.20.1 is required" && exit 1)
node --version | grep "v10.2" > /dev/null || (echo "ERROR, node.js version 10.20.1 is required" && exit 1)
check_tool docker
check_tool docker-compose
check_tool envsubst
Expand Down
2 changes: 1 addition & 1 deletion docs/setup-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The problem should be solved at this step.
## `Node` & `Yarn`
1. Install `Node`. Be sure to install `Node` v10.20.1. Other 10x versions (e.g. v10.16.1) can cause mysterious errors,
1. Install `Node`. Be sure to install `Node` v10.20.1 or higher. Lower 10x versions (e.g. v10.16.1) can cause mysterious errors,
which won't look related to the `Node` itself.

2. Install `yarn`. Instructions can be found on the [official site](https://classic.yarnpkg.com/en/docs/install/).
Expand Down

0 comments on commit 44b13d1

Please sign in to comment.