2b17eb2d by Adam Heath

Make certain to set npm proxy variables.

1 parent 5604d6da
...@@ -17,6 +17,11 @@ find "$node_home" \ ...@@ -17,6 +17,11 @@ find "$node_home" \
17 '(' -not -group node -exec chgrp node '{}' + ')' -o \ 17 '(' -not -group node -exec chgrp node '{}' + ')' -o \
18 -true 18 -true
19 19
20 npm -g config set http_proxy "$http_proxy"
21 npm -g config set https_proxy "$http_proxy"
22 sudo -u node npm config set http_proxy "$http_proxy"
23 sudo -u node npm config set https_proxy "$http_proxy"
24
20 if [[ -e package.json ]]; then 25 if [[ -e package.json ]]; then
21 sudo -u node npm install 26 sudo -u node npm install
22 fi 27 fi
......