From 4ffbce417cb4dd76291d601472dabb1e24e9cfe3 Mon Sep 17 00:00:00 2001 From: Steven Rockarts Date: Mon, 12 Jan 2015 23:06:06 +0100 Subject: [PATCH] win,msi: create npm folder in AppData directory Create the empty npm folder in Roaming\Appdata so that non-Administrator users have a place to store global packages. This fixes the error Error: ENOENT, stat error that occurs when a user tries to run the npm install command. Bug: https://github.com/joyent/node/issues/8141 PR: https://github.com/joyent/node/pull/8838 Reviewed-by: Bert Belder --- tools/msvs/msi/product.wxs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs index e7c55edd9af..6ff0d4b149b 100755 --- a/tools/msvs/msi/product.wxs +++ b/tools/msvs/msi/product.wxs @@ -46,6 +46,7 @@ + + @@ -184,6 +186,16 @@ + + + + + + + + + +