vendredi 15 janvier 2016

Issue when updating composer

I am getting an issue when trying to create controllers in Laravel so decided to try and update composer and am getting the following issues when running composer update;

[BadMethodCallException]            
  Call to undefined method [package]  


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] [--prefer-lowest] [-i|--interactive] [--] [<packages>]...

The error I get when trying to create a new controller;

  [BadMethodCallException]            
  Call to undefined method [package]  

So I believe the 2 to be connected however I may be incorrect.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire