lundi 9 novembre 2015

Script php artisan clear-compiled handling the pre-update-cmd event returned with an error

I kept on getting this error after running composer update

./composer.json has been updated
> php artisan clear-compiled

  [Symfony\Component\Debug\Exception\FatalErrorException]
  Class 'Illuminate\Html\HtmlServiceProvider' not found

Script php artisan clear-compiled handling the pre-update-cmd event returned with an error

  [RuntimeException]
  Error Output:

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock]
 [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-
progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]
 [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--pre
fer-lowest] [packages1] ... [packagesN]

In composer.json this is my required file:

"require": {
        "php": ">=5.5.9",
        "laravel/framework": "5.1.*",
        "laravelcollective/html": "dev-master"    
    },

what exactly is the problem? Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire