diff --git a/local-cli/init/init.js b/local-cli/init/init.js index e6a7e73df..15f9837df 100644 --- a/local-cli/init/init.js +++ b/local-cli/init/init.js @@ -75,10 +75,10 @@ function generateProject(destinationRoot, newProjectName, options) { if (yarnVersion) { console.log('Adding React...'); - execSync(`yarn add react@${reactVersion}`); + execSync(`yarn add react@${reactVersion}`, {stdio: 'inherit'}); } else { console.log('Installing React...'); - execSync(`npm install react@${reactVersion} --save --save-exact`); + execSync(`npm install react@${reactVersion} --save --save-exact`, {stdio: 'inherit'}); } if (!options['skip-jest']) { const jestDeps = ( @@ -86,10 +86,10 @@ function generateProject(destinationRoot, newProjectName, options) { ); if (yarnVersion) { console.log('Adding Jest...'); - execSync(`yarn add ${jestDeps} --dev --exact`); + execSync(`yarn add ${jestDeps} --dev --exact`, {stdio: 'inherit'}); } else { console.log('Installing Jest...'); - execSync(`npm install ${jestDeps} --save-dev --save-exact`); + execSync(`npm install ${jestDeps} --save-dev --save-exact`, {stdio: 'inherit'}); } addJestToPackageJson(destinationRoot); }