mercredi 24 octobre 2018

Laravel: package:discover handling

Recently I was working on a branch and I added some features including a custom service and providers. But that branch is not merged with master yet. Today I create a new branch from master, but I'm not able to do anything. I go the following errors:

> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover

In ProviderRepository.php line 208:

  Class 'App\Providers\UserTierServiceProvider' not found


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

I've tried composer dump-autoload but the error is the same. Is there a way to make laravel aware of the branch change?.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire