mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-17 06:19:41 +02:00
Debug where npm is
This commit is contained in:
@@ -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