Home>Article>Development Tools> Composer update dependency error reporting Fatal error solution

Composer update dependency error reporting Fatal error solution

little bottle
little bottle forward
2019-04-22 14:14:44 5020browse

This article mainly talks about the solution for updating Composer dependency error reporting. Friends who have the same problem should also learn about it.

Fatal error: Declaration of Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRe pository::search() must be compatible with Composer\Repository\RepositoryInterfa ce::search($query, $mode = 0, $type = NULL) in C:\Users\Arthur\AppData\Roaming\C omposer\vendor\fxp\composer-asset-plugin\Repository\AbstractAssetsRepository.php on line 334

Solution:

composer global remove fxp/composer-asset-plugin --no-plugins

Related recommendations: [composer tutorial]


The above is the detailed content of Composer update dependency error reporting Fatal error solution. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete