I have a project which stay with 2 years ago with version 2.0.18 under development, and now trying to keep running it but need to upgrade to the latest version for Yii2 which can be prepared for Yii3 in the future, When do upgrading, Errors always coming up, so try to find help from here to see if this can be fix or not. Thank you!
error logs:
Problem 1
- Root composer.json requires yiisoft/yii2 ~2.0.39.3 -> satisfiable by yiisoft/yii2[2.0.39.3].
- yiisoft/yii2 2.0.39.3 requires bower-asset/jquery 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- yidas/yii2-jquery jQuery Asset Bundle extension with fixed and CDN sources for Yii2 framework
- jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
- taobig/php-helper A tool set for PHP projects
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- getdkan/recline recline.js module for DKAN/Drupal
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- maniakalen/tags Yii2 Element tags integration module
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- onyijne/ovy Onsen-UI 2 + Vue.js 2 + Yii2 Basic Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
- success/yii2-app-api Yii2 Api Application Template
- tanakahisateru/yii2-app-basic-npm How to use NPM with Yii 2 Basic Application Template
- yuncms/framework The Yuncms Framework.
Consider requiring one of these to satisfy the bower-asset/jquery requirement.
Problem 2
- yiisoft/yii2-bootstrap[2.0.0-alpha, ..., 2.0.0-beta] require yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0.39.3].
- yiisoft/yii2-bootstrap[dev-master, 2.0.9, ..., 2.0.10] require bower-asset/bootstrap 3.4.* | 3.3.* | 3.2.* | 3.1.* -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- taobig/php-helper A tool set for PHP projects
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
- tanakahisateru/yii2-app-basic-npm How to use NPM with Yii 2 Basic Application Template
- yidas/yii2-bootstrap Bootstrap Asset Bundle extension for Yii2 framework
Consider requiring one of these to satisfy the bower-asset/bootstrap requirement.
- yiisoft/yii2-bootstrap[2.0.0-rc, ..., 2.0.0] require bower-asset/bootstrap 3.2.* | 3.1.* -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- taobig/php-helper A tool set for PHP projects
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
- tanakahisateru/yii2-app-basic-npm How to use NPM with Yii 2 Basic Application Template
- yidas/yii2-bootstrap Bootstrap Asset Bundle extension for Yii2 framework
Consider requiring one of these to satisfy the bower-asset/bootstrap requirement.
- yiisoft/yii2-bootstrap[2.0.1, ..., 2.0.8] require bower-asset/bootstrap 3.3.* | 3.2.* | 3.1.* -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- taobig/php-helper A tool set for PHP projects
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
- tanakahisateru/yii2-app-basic-npm How to use NPM with Yii 2 Basic Application Template
- yidas/yii2-bootstrap Bootstrap Asset Bundle extension for Yii2 framework
Consider requiring one of these to satisfy the bower-asset/bootstrap requirement.
- yiisoft/yii2 2.0.39.3 requires bower-asset/jquery 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> could not be found in any version, but the following packages provide it:
- craftcms/cms Craft CMS
- yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
- yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- yidas/yii2-jquery jQuery Asset Bundle extension with fixed and CDN sources for Yii2 framework
- jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
- taobig/php-helper A tool set for PHP projects
- maiscrm/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- demokn/yii2-composer-asset
- stiks/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
- blackhive/yii2-app-advanced Yii 2 Advanced Project Template
- cliff363825/yii2-bower-asset Yii2 bower asset
- getdkan/recline recline.js module for DKAN/Drupal
- kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
- maniakalen/tags Yii2 Element tags integration module
- myzero1/yii2-app-advanced Yii 2 Advanced Project Template
- onyijne/ovy Onsen-UI 2 + Vue.js 2 + Yii2 Basic Project Template
- projectchina/yii2-app-advanced Yii 2 Advanced Project Template
- success/yii2-app-api Yii2 Api Application Template
- tanakahisateru/yii2-app-basic-npm How to use NPM with Yii 2 Basic Application Template
- yuncms/framework The Yuncms Framework.
Consider requiring one of these to satisfy the bower-asset/jquery requirement.
- yiisoft/yii2-bootstrap 2.0.x-dev is an alias of yiisoft/yii2-bootstrap dev-master and thus requires it to be installed too.
- Root composer.json requires yiisoft/yii2-bootstrap ~2.0.0 -> satisfiable by yiisoft/yii2-bootstrap[2.0.0-alpha, ..., 2.0.x-dev (alias of dev-master)].
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.