Barış Soner Uşaklı 7 years ago
parent 1c530c4f09
commit b240ae89cd

@ -41,11 +41,18 @@ function installAll() {
} catch (e) {
// ignore
}
cproc.execSync(command + (prod ? ' --production' : ''), {
cwd: path.join(__dirname, '../../'),
stdio: [0, 1, 2],
});
try {
cproc.execSync(command + (prod ? ' --production' : ''), {
cwd: path.join(__dirname, '../../'),
stdio: [0, 1, 2],
});
} catch (e) {
console.log('Error installing dependencies!');
console.log('message: ' + e.message);
console.log('stdout: ' + e.stdout);
console.log('stderr: ' + e.stderr);
throw e;
}
}
exports.installAll = installAll;

Loading…
Cancel
Save