diff --git a/scripts/build-node-for-dev-bundle.sh b/scripts/build-node-for-dev-bundle.sh index 3e6679c8ec..2737adeb5f 100755 --- a/scripts/build-node-for-dev-bundle.sh +++ b/scripts/build-node-for-dev-bundle.sh @@ -6,17 +6,15 @@ set -u # When upgrading node versions, also update the values of MIN_NODE_VERSION at # the top of tools/main.js and tools/server/boot.js, and the text in # docs/client/full-api/concepts.html and the README in tools/bundler.js. -NODE_VERSION=0.10.41 +NODE_VERSION=0.10.43 +NODE_URL="https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}.tar.gz" source "$(dirname $0)/build-dev-bundle-common.sh" echo CHECKOUT DIR IS "$CHECKOUT_DIR" echo BUILDING NODE "v$NODE_VERSION" IN "$DIR" -# For now, use our fork with https://github.com/npm/npm/pull/5821 -git clone --branch "v${NODE_VERSION}-with-npm-5821" --depth 1 \ - https://github.com/meteor/node.git -cd node -rm -rf .git +curl "$NODE_URL" | gzip -d | tar x +cd "node-v${NODE_VERSION}" ./configure --prefix="$DIR" make -j4 make install PORTABLE=1 diff --git a/scripts/generate-dev-bundle.ps1 b/scripts/generate-dev-bundle.ps1 index 915ab4e793..3f69f9a38b 100644 --- a/scripts/generate-dev-bundle.ps1 +++ b/scripts/generate-dev-bundle.ps1 @@ -2,7 +2,7 @@ # use 32bit by default $PLATFORM = "windows_x86" $MONGO_VERSION = "2.6.7" -$NODE_VERSION = "0.10.41" +$NODE_VERSION = "0.10.43" $NPM_VERSION = "2.14.22" # take it form the environment if exists