same here... new and old projects blew up today
New Project Error via Composer
`> Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
Error
Class "Symfony\Component\Translation\Loader\ArrayLoader" not found
at vendor/nesbot/carbon/src/Carbon/Translator.php:80 76▕ public function __construct($locale, Translation\Formatter\MessageFormatterInterface $formatter = null, $cacheDir = null, $debug = false) 77▕ { 78▕ $this->initializing = true; 79▕ $this->directories = [DIR.'/Lang']; ➜ 80▕ $this->addLoader('array', new Translation\Loader\ArrayLoader()); 81▕ parent::__construct($locale, $formatter, $cacheDir, $debug); 82▕ $this->initializing = false; 83▕ } 84▕
+13 vendor frames
14 [internal]:0 Illuminate\Foundation\Application::Illuminate\Foundation{closure}(Object(Carbon\Laravel\ServiceProvider))
+5 vendor frames
20 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1 `
When I run composer create-project laravel/laravel example-app the error above is what I get. I used to not get this error.
Thank You.
Please or to participate in this conversation.