From ad3fd46da55b31cadc2a801d1002f9acdde95003 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Fri, 9 Dec 2016 15:28:28 +0000 Subject: [PATCH] Try to use mapbox node mirror --- scripts/install_node.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install_node.sh b/scripts/install_node.sh index a77b48406..d390a214d 100644 --- a/scripts/install_node.sh +++ b/scripts/install_node.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +export NVM_NODEJS_ORG_MIRROR=https://s3.amazonaws.com/mapbox/vendor/nodejs + # here we set up the node version on the fly. currently only node 4, but can be used for more values if need be # This is done manually so that the build works the same on OS X rm -rf ~/.nvm/ && git clone --depth 1 --branch v0.30.1 https://github.com/creationix/nvm.git ~/.nvm