ElisDN/seokeys

Class Fxp\Composer\AssetPlugin\Repository\NpmRepository does not exist

dignityinside opened this issue · 5 comments

Composer вылетает с ошибкой:

Installation failed, deleting ./composer.json.

  [ReflectionException]                                                   
  Class Fxp\Composer\AssetPlugin\Repository\NpmRepository does not exist  

  [ErrorException]                                                             
  Declaration of Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository  
  ::whatProvides() should be compatible with Composer\Repository\ComposerRepo  
  sitory::whatProvides(Composer\DependencyResolver\Pool $pool, $name, $bypass  
  Filters = false)  

Fix:

composer global require "fxp/composer-asset-plugin:~1.1.1"

it shows the same error when executing
composer global require "fxp/composer-asset-plugin:~1.1.1"
screenshot from 2016-04-18 12 39 45

@dignityinside @faddel Run composer self-update, remove ~/.composer/vendor/fxp directory and install asset-plugin again.

funcionou vlw =)

Thanks! It worked!!

don't work for me, how to fix it