Yii2 установка из composer (bower-asset/jquery не найден)
Добавлено: 2017.10.11, 17:35
Всем привет.
Столкнулся с проблемой установки Yii2 из компосера
CentOS 7
Немного консоли:
bash-4.2$ composer --version
Composer version 1.5.2 2017-09-11 16:59:25
bash-4.2$ composer global show -i
Changed current directory to /var/www/user/.config/composer
You are using the deprecated option "installed". Only installed packages are shown by default now. The --all option can be used to show all packages.
fxp/composer-asset-plugin v1.4.1 NPM/Bower Dependency Manager for Composer
bash-4.2$ composer install
The "extra.asset-installer-paths" option is deprecated, use the "config.fxp-asset.installer-paths" option
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for yiisoft/yii2 >=2.0.12 -> satisfiable by yiisoft/yii2[2.0.12].
- yiisoft/yii2 2.0.12 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found.
Problem 2
- yiisoft/yii2 2.0.12 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found.
- creocoder/yii2-nested-sets 0.9.0 requires yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0.12].
- Installation request for creocoder/yii2-nested-sets ^0.9.0 -> satisfiable by creocoder/yii2-nested-sets[0.9.0].
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.m ... -stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Полагаю дело в отсутствии пакета, т.к. при открытии ссылки: https://github.com/bower-asset/jquery у меня 404
Столкнулся с проблемой установки Yii2 из компосера
CentOS 7
Немного консоли:
bash-4.2$ composer --version
Composer version 1.5.2 2017-09-11 16:59:25
bash-4.2$ composer global show -i
Changed current directory to /var/www/user/.config/composer
You are using the deprecated option "installed". Only installed packages are shown by default now. The --all option can be used to show all packages.
fxp/composer-asset-plugin v1.4.1 NPM/Bower Dependency Manager for Composer
bash-4.2$ composer install
The "extra.asset-installer-paths" option is deprecated, use the "config.fxp-asset.installer-paths" option
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for yiisoft/yii2 >=2.0.12 -> satisfiable by yiisoft/yii2[2.0.12].
- yiisoft/yii2 2.0.12 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found.
Problem 2
- yiisoft/yii2 2.0.12 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found.
- creocoder/yii2-nested-sets 0.9.0 requires yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0.12].
- Installation request for creocoder/yii2-nested-sets ^0.9.0 -> satisfiable by creocoder/yii2-nested-sets[0.9.0].
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.m ... -stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Полагаю дело в отсутствии пакета, т.к. при открытии ссылки: https://github.com/bower-asset/jquery у меня 404