yii2 Ошибка при установке -- Your requirements could not be resolved to an installable set of packages
Primary tabs
При попытке установить Yii2, появляется ошибка:
Your requirements could not be resolved to an installable set of packages. 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.8 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable -> no matching package found. - yiisoft/yii2 2.0.7 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable -> no matching package found. - yiisoft/yii2 2.0.6 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found. - yiisoft/yii2 2.0.5 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found. - 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. - yiisoft/yii2 2.0.11.2 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found. - yiisoft/yii2 2.0.11.1 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found. - yiisoft/yii2 2.0.11 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found. - yiisoft/yii2 2.0.10 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 ~2.0.5 -> satisfiable by yiisoft/yii2[2.0.10, 2.0.11, 2.0.11.1, 2.0.11.2, 2.0.12, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9]. 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...> for more details. Read <https://getcomposer.org/doc/articles/tro...> for further common problems.
Решение
Рекомендуется обновить Composer с помощью команды:
sudo composer self-update
Если не помогает, возможно следует установить плагин asset-plugin:
composer global require "fxp/composer-asset-plugin:^1.0"
Моя ошибка была решена именно так.
- Log in to post comments
- 7327 reads
vedro-compota
Mon, 08/21/2017 - 19:33
Permalink
Связанная ошибка -- может
Связанная ошибка -- может встретиться в будущем: http://fkn.ktu10.com/?q=node/9004
_____________
матфак вгу и остальная классика =)
vedro-compota
Tue, 08/22/2017 - 12:15
Permalink
Решение
-- рекомендуется делать подзаголовком (выделять как h2 например) -- в этой заметке уже исправил.
_____________
матфак вгу и остальная классика =)