From eb1b40497e14a09facbc370676f486bed1376f52 Mon Sep 17 00:00:00 2001 From: dcodeIO Date: Fri, 9 Jun 2017 10:02:39 +0200 Subject: [PATCH] Call npm with '--no-bin-links' when installing CLI deps, fixes #823 --- cli/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/util.js b/cli/util.js index 605f4263d..402bf892c 100644 --- a/cli/util.js +++ b/cli/util.js @@ -126,7 +126,7 @@ function modExists(name, version) { } function modInstall(install) { - child_process.execSync("npm --silent install " + (typeof install === "string" ? install : install.join(" ")), { + child_process.execSync("npm --silent --no-bin-links install " + (typeof install === "string" ? install : install.join(" ")), { cwd: __dirname, stdio: "ignore" });