From 1896adb587acb13bc9840ae18bf0cbdc31208641 Mon Sep 17 00:00:00 2001 From: Stephen Edgar Date: Fri, 28 Nov 2014 18:07:05 +1100 Subject: [PATCH] NodeJS - Add post install `npm update -g` NodeJS is no longer bundling an up to date `NPM` package, currently shipping with v1.4.28, now post install running `npm update -g` will update to NPM v2.1.10 at time of writing --- bucket/nodejs.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bucket/nodejs.json b/bucket/nodejs.json index 544b173b..2bcaca80 100644 --- a/bucket/nodejs.json +++ b/bucket/nodejs.json @@ -15,6 +15,7 @@ "env_add_path": "nodejs", "post_install": " # Remove npmrc that makes global modules get installed in AppData\\Roaming\\npm -rm $dir\\nodejs\\node_modules\\npm\\npmrc", +rm $dir\\nodejs\\node_modules\\npm\\npmrc +npm update -g", "checkver": "

Current Version: v([0-9\\.]+)

" }