From d453ef07cd3e5d1a388e261a0c807a8a79c9b51a Mon Sep 17 00:00:00 2001 From: Roland Date: Wed, 9 Mar 2022 19:18:06 -0700 Subject: [PATCH] Trying npm install multiple times because of network timeouts. --- scripts/ubuntu_20.04_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ubuntu_20.04_install.sh b/scripts/ubuntu_20.04_install.sh index bab18739..fefc6a00 100755 --- a/scripts/ubuntu_20.04_install.sh +++ b/scripts/ubuntu_20.04_install.sh @@ -30,7 +30,7 @@ pip3 install -r /opt/wrolpi/requirements.txt # Build React app [ ! -f /usr/local/bin/serve ] && npm -g install serve cd /opt/wrolpi/app || exit 5 -npm install +npm install || npm install || npm install || npm install # try install multiple times npm run build # Install the WROLPi nginx config over the default nginx config.