作曲家致命错误:Fxp的声明...必须与 ...摘要资产存储库.php第 334 行
2022-08-30 21:45:07
我更新了作曲家
composer self-update
我安装了较新版本的插件
composer global require "fxp/composer-asset-plugin:*"
我尝试安装拉拉维尔
composer global require “laravel/installer”
Changed current directory to C:/Users/Arthur/AppData/Roaming/Composer
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
现在,编辑器中的所有命令都不起作用
composer <any command>
请帮我解决它