From 569734a80dfeb20b2e8b8b7c0f2f69bb61704c6e Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 3 Jan 2018 12:42:38 -0500 Subject: [PATCH] re-add npm install for embark demo --- lib/cmds/template_generator.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/cmds/template_generator.js b/lib/cmds/template_generator.js index 50e922c4..5c51d461 100644 --- a/lib/cmds/template_generator.js +++ b/lib/cmds/template_generator.js @@ -15,6 +15,11 @@ class TemplateGenerator { utils.cd(fspath); utils.sed('package.json', '%APP_NAME%', name); + if (name === 'embark_demo') { + console.log('Installing packages...'.green); + utils.runCmd('npm install'); + } + console.log('Init complete'.green); console.log('\nApp ready at '.green + fspath);