From 18d413d29933df8feb1ba775314477cbac89b773 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 e7c55edd9afa..6ff0d4b149b6 100755 --- a/tools/msvs/msi/product.wxs +++ b/tools/msvs/msi/product.wxs @@ -46,6 +46,7 @@ + + @@ -184,6 +186,16 @@ + + + + + + + + + +