mardi 26 mars 2019

Envoy raise Class 'Barryvdh\Debugbar\ServiceProvider' not found?

Working with envoy in laravel 5.7 on production server I run composer with --no-dev keys:

@task( 'composer', ['on'=>$on] )
    cd 

    composer install --no-interaction --no-dev --prefer-dist

As I do not need dev part on production.

But I see error in envoy output:

lardeployer@NN.NNN.N.NN]: > @php artisan package:discover
[lardeployer@NN.NNN.N.NN]: In ProviderRepository.php line 208:
[lardeployer@NN.NNN.N.NN]: Class 'Barryvdh\Debugbar\ServiceProvider' not found
[lardeployer@NN.NNN.N.NN]: Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

In my config/app.php file I see :

   'providers' => [
        ...
        Barryvdh\Debugbar\ServiceProvider::class,

I think that this definition raise an error. How to fix it?

Thanks!



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2HVpEUq
via IFTTT

Aucun commentaire:

Enregistrer un commentaire