diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php index a668ce0..1c253d0 100644 --- a/app/Console/Commands/Install.php +++ b/app/Console/Commands/Install.php @@ -55,10 +55,13 @@ class Install extends Command $this->info('>> Installing and preparing dependencies. This may take a while, depending on your computer.'); $npmOut = 0; - $npmBuildOut = 0; + $npmMessages = []; - exec('cd ' . $basePath . ' && npm install', null, $npmOut); - exec('cd ' . $basePath . '&& npm run dev', null, $npmBuildOut); + $npmBuildOut = 0; + $npmBuildMessages = []; + + exec('cd ' . $basePath . ' && npm install', $npmBuildOut, $npmOut); + exec('cd ' . $basePath . '&& npm run dev', $npmBuildMessages, $npmBuildOut); if($npmOut !== 0 && $npmBuildOut !== 0)