Compat for npm in different directories

This commit is contained in:
Miguel Nogueira 2020-07-09 05:29:55 +01:00
parent 1bc63725c9
commit 1c08cd9057
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ class Install extends Command
// Command stack
$npm = new Process(['npm install', '--silent'], $basePath);
$npmBuild = new Process(['npm run dev', '--silent'], $basePath);
$npm = new Process(['/usr/bin/env npm install', '--silent'], $basePath);
$npmBuild = new Process(['/usr/bin/env npm run dev', '--silent'], $basePath);
$this->info('>> Installing and preparing dependencies. This may take a while, depending on your computer.');