diff --git a/src/common.js b/src/common.js index 62bfcb6..5f277c9 100644 --- a/src/common.js +++ b/src/common.js @@ -41,6 +41,7 @@ function getInstallationPath(callback) { dir = stdout.trim(); } + dir = dir.replace(/node_modules.*\/\.bin/, 'node_modules/.bin'); mkdirp.sync(dir); callback(null, dir);