Pass --no-bin-links to npm rebuild to fix #7401.

This commit is contained in:
Ben Newman
2016-07-13 13:05:17 -04:00
parent e6acb9f39f
commit d2ddd0f98d

View File

@@ -2,6 +2,11 @@
var args = [
"rebuild",
// The --no-bin-links flag tells npm not to create symlinks in the
// node_modules/.bin/ directory when rebuilding packages, which helps
// avoid problems like https://github.com/meteor/meteor/issues/7401.
"--no-bin-links",
// The --update-binary flag tells node-pre-gyp to replace previously
// installed local binaries with remote binaries:
// https://github.com/mapbox/node-pre-gyp#options