mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-10-26 20:40:51 +03:00
node version 10.x => 12.x
This commit is contained in:
parent
1f16bca87f
commit
c8a7cb4b89
@ -21,12 +21,12 @@ if [ "$(uname)" = "Linux" ]; then
|
||||
elif type yum && [ ! -f "/etc/redhat-release" ] && [ ! -f "/etc/centos-release" ]; then
|
||||
# AMZN 2
|
||||
echo "Installing on Amazon Linux 2"
|
||||
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
|
||||
curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -
|
||||
sudo yum install -y nodejs
|
||||
elif type yum && [ -f /etc/redhat-release ] || [ -f /etc/centos-release ]; then
|
||||
# CentOS or Redhat
|
||||
echo "Installing on CentOS/Redhat"
|
||||
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
|
||||
curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -
|
||||
sudo yum install -y nodejs
|
||||
fi
|
||||
elif [ "$(uname)" = "Darwin" ] && type brew && ! npm version >/dev/null 2>&1; then
|
||||
|
Loading…
Reference in New Issue
Block a user