title: Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code -1073741819
body: <p>I got some weird error code after I pulled a project out of my github. My first things I do is <code>composer dumpautoload</code>, <code>composer update</code>, and <code>php artisan migrate:fresh --seed</code> whenver I get to a new terminal. This time, I'm stuck at <code>dumpautoload</code> as it generates this error.</p>
  
  <p>Here's what <code>composer update</code> generated</p>
  
  <pre><code>Loading composer repositories with package information
  The "https://repo.packagist.org/packages.json" file could not be downloaded: SSL: An existing connection was forcibly closed by the remote host.
  
  send of 158 bytes failed with errno=10054 An existing connection was forcibly closed by the remote host.
  
  failed to open stream: HTTP request failed! 
  https://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
  Updating dependencies (including require-dev)
  Nothing to install or update
  Writing lock file
  Generating optimized autoload files
  &gt; Illuminate\Foundation\ComposerScripts::postAutoloadDump
  &gt; @php artisan package:discover --ansi
  Discovered Package: awobaz/compoships
  Discovered Package: facade/ignition
  Discovered Package: fideloper/proxy
  Discovered Package: intervention/image
  Discovered Package: laravel/tinker
  Discovered Package: laravel/ui
  Discovered Package: maatwebsite/excel
  Discovered Package: nesbot/carbon
  Discovered Package: nunomaduro/collision
  Discovered Package: spatie/laravel-medialibrary
  Discovered Package: yajra/laravel-datatables-oracle
  Package manifest generated successfully.
  Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error
  code -1073741819
  </code></pre>