I got some weird error code after I pulled a project out of my github. My first things I do is composer dumpautoload
, composer update
, and php artisan migrate:fresh --seed
whenver I get to a new terminal. This time, I'm stuck at dumpautoload
as it generates this error.
Here's what composer update
generated
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
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @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
php artisan clear
– Manhoodphp artisan dump-autoload
to clear all logs – Mulryphp artisan migrate:fresh --seed
your data in the database will be lost. Make sure on that point before use – Liber