title: When I try to install php artisan ui vue --auth I get 'array_key_exists() expects parameter 2 to be array' error
body: <p>When I try to install <code>php artisan ui vue --auth</code> these errors are displaying. How can I fix this?</p>
  
  <pre class="lang-none prettyprint-override"><code>laravel verison:6.5.0
  C:\xampp\htdocs\laravel\admindash&gt;php artisan ui vue --auth
  
     ErrorException  : array_key_exists() expects parameter 2 to be array, null gi
  ven
  
    at C:\xampp\htdocs\laravel\admindash\vendor\laravel\ui\src\Presets\Preset.php:
  40
      36|
      37|         $packages = json_decode(file_get_contents(base_path('package.jso
  n')), true);
      38|
      39|         $packages[$configurationKey] = static::updatePackageArray(
    &gt; 40|             array_key_exists($configurationKey, $packages) ? $packages[$
  configurationKey] : [],
      41|             $configurationKey
      42|         );
      43|
      44|         ksort($packages[$configurationKey]);
  
    Exception trace:
  
    1   array_key_exists("devDependencies")
        C:\xampp\htdocs\laravel\admindash\vendor\laravel\ui\src\Presets\Preset.php
  :40
  
    2   Laravel\Ui\Presets\Preset::updatePackages()
        C:\xampp\htdocs\laravel\admindash\vendor\laravel\ui\src\Presets\Bootstrap.
  </code></pre>