diff --git a/k8s/build-node.sh b/k8s/build-node.sh index b81844d3..407553a6 100755 --- a/k8s/build-node.sh +++ b/k8s/build-node.sh @@ -3,13 +3,15 @@ baseDir="/home/somuns/ci4s" cd ${baseDir}/react-ui -#npm install -g npm@10.9.0 -#npm install -# -#if [ $? -ne 0 ]; then -# echo "Failed to install npm depend package" -# exit 1 -#fi +npm config set proxy http://172.20.32.253:3128 +npm config set https-proxy http://172.20.32.253:3128 + +npm install + +if [ $? -ne 0 ]; then + echo "Failed to install npm depend package" + exit 1 +fi npm run build