composer 安装失败:composer global require "fxp/composer-asset-plugin:~1.0.0" [ 新手入门 ]
运行命令:
composer global require "fxp/composer-asset-plugin:~1.0.0"
命令行报错:
C:\Users\2019\AppData\Roaming\Composer>composer global require "fxp/composer-asset-plugin:~1.0.0"
Changed current directory to C:/Users/2019/AppData/Roaming/Composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing fxp/composer-asset-plugin (v1.0.3): Loading from cache
Deprecation Notice: The Composer\Package\LinkConstraint\MultiConstraint class is deprecated, use Composer\Semver\Constra int\MultiConstraint instead. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Package/LinkConstrain t/MultiConstraint.php:17
Deprecation Notice: The Composer\Package\LinkConstraint\LinkConstraintInterface interface is deprecated, use Composer\Se mver\Constraint\ConstraintInterface instead. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Packa ge/LinkConstraint/LinkConstraintInterface.php:17
### **Fatal error: Declaration of Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository::search($query, $mode = 0) must be compatible with Composer\Repository\ComposerRepository::search($query, $mode = 0, $type = NULL) in C:\Users\2019\App Data\Roaming\Composer\vendor\fxp\composer-asset-plugin\Repository\AbstractAssetsRepository.php on line 334**
烈火信息科技 湖南长沙
注册时间:2019-08-07
最后登录:2021-05-10
在线时长:333小时16分
最后登录:2021-05-10
在线时长:333小时16分
- 粉丝5
- 金钱4930
- 威望10
- 积分8360