skmetaly / laravel-twitch-restful-api

Laravel implementation of the restful api provided by Twitch.tv
MIT License
8 stars 4 forks source link

Class Skmetaly\TwitchApi\Providers\TwitchApiServiceProvider not found #3

Closed olszak94 closed 8 years ago

olszak94 commented 8 years ago

I don't know why, and how (cause i didn't change anything)

when i run composer update its giving me this error

> php artisan clear-compiled
PHP Fatal error:  Class 'Skmetaly\TwitchApi\Providers\TwitchApiServiceProvider' not found in /var/www/rafdev.ovh/html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 146

  [Symfony\Component\Debug\Exception\FatalErrorException]                  
  Class 'Skmetaly\TwitchApi\Providers\TwitchApiServiceProvider' not found 
skmetaly commented 8 years ago

Managed to solve this out ?

olszak94 commented 8 years ago

Yes, it was a problem with composer and some autoloading. Reinstalled the package, cleared cache, dumped autoload and its working fine now :+1: