From 4c6d7c04770b7229e3a75d1e1f51d717294f552d Mon Sep 17 00:00:00 2001 From: chenzhihang <709011834@qq.com> Date: Mon, 14 Oct 2024 14:59:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=83=A8=E7=BD=B2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k8s/build-node.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/k8s/build-node.sh b/k8s/build-node.sh index 407553a6..df353aa4 100755 --- a/k8s/build-node.sh +++ b/k8s/build-node.sh @@ -3,10 +3,11 @@ baseDir="/home/somuns/ci4s" cd ${baseDir}/react-ui +npm config set registry https://registry.npmmirror.com/ npm config set proxy http://172.20.32.253:3128 npm config set https-proxy http://172.20.32.253:3128 -npm install +npm install --force if [ $? -ne 0 ]; then echo "Failed to install npm depend package"