Skip to content

Commit eb1b404

Browse files
committed
Call npm with '--no-bin-links' when installing CLI deps, fixes #823
1 parent 3a95945 commit eb1b404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function modExists(name, version) {
126126
}
127127

128128
function modInstall(install) {
129-
child_process.execSync("npm --silent install " + (typeof install === "string" ? install : install.join(" ")), {
129+
child_process.execSync("npm --silent --no-bin-links install " + (typeof install === "string" ? install : install.join(" ")), {
130130
cwd: __dirname,
131131
stdio: "ignore"
132132
});

0 commit comments

Comments
 (0)