Answer the question
In order to leave comments, you need to log in
Why does an error occur when adding packages to Yii2 via Composer?
I add a package that is not related to Yii2 in any way, and Composer displays such rubbish for me.
Problem 1
- yiisoft/yii2 2.0.9 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found.
- yiisoft/yii2 2.0.9 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found.
- Installation request for yiisoft/yii2 (installed at 2.0.9) -> satisfiable by yiisoft/yii2[2.0.9].
Answer the question
In order to leave comments, you need to log in
most likely the fxp/composer-asset-plugin is not installed on the PC. You need to install it accordingly
composer global require "fxp/composer-asset-plugin"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question