vendredi 27 novembre 2015

`composer install` terminates with "Script php artisan clear-compiled handling the post-install-cmd event returned with an error"

I am trying to install Composer dependencies like this:

root@cityofangels:/var/www/trackstats# composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
> php artisan clear-compiled



  [ErrorException]                                
  dirname() expects exactly 1 parameter, 2 given  



Script php artisan clear-compiled handling the post-install-cmd event returned with an error



  [RuntimeException]  
  Error Output:       



install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...

Any idea about what is happening, and how I can exactly fix it? I am currently running on Ubuntu 14.04.3 LTS, with the output from php -v being:

PHP 5.5.9-1ubuntu4.14 (cli) (built: Oct 28 2015 01:34:46)

Here is my composer.json, for anyone interested: http://ift.tt/1Ngeu8u

Here is a the directory tree of the folder vendor: http://ift.tt/1jnNbgt

Any help would be appreciated.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire