HTMLMin / Laravel-HTMLMin

A simple HTML minifier for Laravel 5, 6, 7, 8 & 9.
MIT License
1.02k stars 119 forks source link

laravel8: "Class view does not exist" after install #163

Closed iArtem88 closed 2 years ago

iArtem88 commented 3 years ago

After: composer require htmlmin/htmlmin composer dump-autoload

Run: php artisan

Result:

  In Container.php line 875:

    Target class [view] does not exist.  

  In Container.php line 873:

    Class view does not exist  

Application Service Providers (3rd party):

    Intervention\Image\ImageServiceProvider::class,
    Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
    Laravel\Socialite\SocialiteServiceProvider::class,
    Maatwebsite\Excel\ExcelServiceProvider::class,
    Petehouston\Tinymce\TinymceServiceProvider::class,
    Irazasyed\LaravelGAMP\LaravelGAMPServiceProvider::class,
    Fideloper\Proxy\TrustedProxyServiceProvider::class,
    Buzz\LaravelGoogleCaptcha\CaptchaServiceProvider::class,
    Greggilbert\Recaptcha\RecaptchaServiceProvider::class,

no effect after bootstrap/cache was cleared

allevi18 commented 3 years ago

Have you managed to fix this?

u01jmg3 commented 2 years ago

The merged PR #162 fixes this