Class Fxp\Composer\AssetPlugin\Repository\NpmRepository does not exist
dignityinside opened this issue · 5 comments
dignityinside commented
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"
mfadel85 commented
ElisDN commented
@dignityinside @faddel Run composer self-update
, remove ~/.composer/vendor/fxp
directory and install asset-plugin again.
jonathasborges1 commented
funcionou vlw =)
ravimisra commented
Thanks! It worked!!
Suparuch commented
don't work for me, how to fix it