From 68908b80a26635e89b312e11662d5776eecfb380 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 Oct 2018 15:28:58 -0600 Subject: [PATCH] don't include bin dir in npmPrefixPath --- usr/share/template-launcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/share/template-launcher.js b/usr/share/template-launcher.js index 124766f..41e3f61 100644 --- a/usr/share/template-launcher.js +++ b/usr/share/template-launcher.js @@ -80,7 +80,7 @@ function run() { }; vars.telebitNpm = process.env.TELEBIT_NPM || path.resolve(vars.telebitNode, '../npm'); vars.nodePath = process.env.NODE_PATH || path.resolve(vars.telebitNode, '../lib/node_modules'); - vars.npmConfigPrefix = process.env.NPM_CONFIG_PREFIX || path.resolve(vars.telebitNode, '..'); + vars.npmConfigPrefix = process.env.NPM_CONFIG_PREFIX || path.resolve(vars.telebitNode, '..', '..'); if (-1 === vars.telebitRwDirs.indexOf(vars.npmConfigPrefix)) { vars.telebitRwDirs.push(vars.npmConfigPrefix); }