ultrasamad
1 year ago
912
17
Laravel

In ProviderRepository.php line 208: Class not found

Posted 1 year ago by ultrasamad

I removed a composer package, with composer remove devdojo/chatter. But getting to the end of the command output I got

Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover

In ProviderRepository.php line 208:

  Class 'DevDojo\Chatter\ChatterServiceProvider' not found


Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

So I can't run any of the artisan commands again. I keep getting Class 'DevDojo\Chatter\ChatterServiceProvider' not found. Do I need to manually clear something?

I deleted the vendor folder, check to make sure the package is not in the composer.json file, reinstalled the vendor packages and I got the same error at the end of the command output

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