使用Yii2 框架,在安装composer的时候包一下错误
Your requirements could not be resolved to an installable set of packages.
Problem 1
- deesoft/yii2-angular 1.3 requires bower-asset/angular ~1.3 -> no matching package found.
- mdmsoft/yii2-admin 3.2 requires deesoft/yii2-angular ~1.3 -> satisfiable by deesoft/yii2-angular[1.3].
- Installation request for mdmsoft/yii2-admin 3.2 -> satisfiable by mdmsoft/yii2-admin[3.2].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
解决方案
composer global require "fxp/composer-asset-plugin:^1.2.0"
然后再执行
composer install -vvv
最后再尝试安装
网友评论