Class 'App\Console\Carbon' not found?

Posted 1 year ago by vipin93

I just run command composer update after this now when i try to run php artisan command its showing errors

Writing lock file
Generating autoload files

Illuminate\Foundation\ComposerScripts::postUpdate
php artisan optimize
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'App\Console\Carbon' not found

Script php artisan optimize handling the post-update-cmd event returned with error code 1

even I did not changed my any code

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.