mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-02 21:14:15 +01:00
Debug where npm is
This commit is contained in:
1 parent
a722797b6a
commit
ac42767aaf
1 file changed
+2
@@ -9,6 +9,8 @@ if (!PLUGINS_DIR) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log('Installing dependencies', PLUGINS_DIR);
|
console.log('Installing dependencies', PLUGINS_DIR);
|
||||||
|
const out = execSync('which npm', {cwd: PLUGINS_DIR, env: process.env}).toString('utf-8');
|
||||||
|
console.log("WHICH NPM?", out);
|
||||||
execSync('npm ci', {cwd: PLUGINS_DIR, env: process.env});
|
execSync('npm ci', {cwd: PLUGINS_DIR, env: process.env});
|
||||||
console.log('Building plugins', PLUGINS_DIR);
|
console.log('Building plugins', PLUGINS_DIR);
|
||||||
execSync('npm run build', {cwd: PLUGINS_DIR, env: process.env});
|
execSync('npm run build', {cwd: PLUGINS_DIR, env: process.env});
|
||||||
|
|||||||
Reference in new issue
Block a user