From 02cfef50d6a4e1b4d8fb500d90569db014c33eb9 Mon Sep 17 00:00:00 2001 From: Martijn Walraven Date: Wed, 22 Jul 2015 19:12:37 -0700 Subject: [PATCH] Fix runNpmCommand on Windows --- tools/isobuild/meteor-npm.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/isobuild/meteor-npm.js b/tools/isobuild/meteor-npm.js index 5af95cd92d..5e14f9a043 100644 --- a/tools/isobuild/meteor-npm.js +++ b/tools/isobuild/meteor-npm.js @@ -342,7 +342,8 @@ var runNpmCommand = function (args, cwd) { var npmPath; if (os.platform() === "win32") { - npmPath = files.pathJoin(nodeBinDir, "npm.cmd"); + npmPath = files.convertToOSPath( + files.pathJoin(nodeBinDir, "npm.cmd")); } else { npmPath = files.pathJoin(nodeBinDir, "npm"); }