When running any composer commands, sometimes you see the following error stack:
يكشنبه, ۱۹ آذر ۱۳۹۶، ۰۹:۲۰ ق.ظ
[ReflectionException]
Class Fxp\Composer\AssetPlugin\Repository\NpmRepository does not exist
[ErrorException]
Declaration of Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository::whatProvides() shou
ld be compatible with Composer\Repository\ComposerRepository::whatProvides(Composer\DependencyRe
solver\Pool $pool, $name, $bypassFilters = false)
composer global update fxp/composer-asset-plugin --no-plugins // For updating plugin, if already installed
- ۹۶/۰۹/۱۹