From ac270aaa298694c4e8c933c0a8c0cd580db6315a 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 --- nodejs.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodejs.json b/nodejs.json index 544b173b36..2bcaca80e1 100644 --- a/nodejs.json +++ b/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\\.]+)

" }