mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-04 19:33:33 +00:00
exit w/ error code if npm install
fails
This commit is contained in:
parent
97f22a3543
commit
585e286adb
@ -89,6 +89,7 @@ class TemplateGenerator {
|
||||
utils.runCmd('npm install', null, (err) => {
|
||||
if (err) {
|
||||
console.error(utils.errorMessage(err).red);
|
||||
process.exit(1);
|
||||
}
|
||||
console.log(__('Init complete').green);
|
||||
console.log('\n' + __('App ready at ').green + templatePath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user