yii2使用composer安装yii2-easy-wechat总是失败
问题描述
这是我要安装的扩展包:https://github.com/jianyan74/...
使用命令安装 composer require jianyan74/yii2-easy-wechat
问题出现的环境背景及自己尝试过哪些方法
报错信息如下:
$ composer require jianyan74/yii2-easy-wechat
Using version ^1.0 for jianyan74/yii2-easy-wechat
./composer.json has been updated
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
- Conclusion: don't install jianyan74/yii2-easy-wechat 1.0.9
- Conclusion: don't install jianyan74/yii2-easy-wechat 1.0.8
- Conclusion: don't install jianyan74/yii2-easy-wechat 1.0.7
- Conclusion: don't install jianyan74/yii2-easy-wechat 1.0.6
- Conclusion: don't install jianyan74/yii2-easy-wechat 1.0.5
- Conclusion: don't install jianyan74/yii2-easy-wechat 1.0.4
- Conclusion: don't install jianyan74/yii2-easy-wechat 1.0.3
- Conclusion: don't install jianyan74/yii2-easy-wechat 1.0.2
- Conclusion: remove overtrue/socialite 1.3.0
- Installation request for jianyan74/yii2-easy-wechat ^1.0 -> satisfiable by jianyan74/yii2-easy-wechat[1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9].
- Conclusion: don't install overtrue/socialite 1.3.0
- jianyan74/yii2-easy-wechat 1.0.1 requires overtrue/wechat ~4.0 -> satisfiable by overtrue/wechat[4.0.0, 4.0.1, 4.0.10, 4.0.11, 4.0.12, 4.0.13, 4.0.14, 4.0.15, 4.0.16, 4.0.17, 4.0.18, 4.0.19, 4.0.2, 4.0.20, 4.0.21, 4.0.22, 4.0.23, 4.0.24, 4.0.25, 4.0.26, 4.0.27, 4.0.28, 4.0.29, 4.0.3, 4.0.30, 4.0.31, 4.0.32, 4.0.33, 4.0.34, 4.0.35, 4.0.36, 4.0.37, 4.0.38, 4.0.39, 4.0.4, 4.0.40, 4.0.41, 4.0.42, 4.0.5, 4.0.6, 4.0.7, 4.0.8, 4.0.9, 4.1.0, 4.1.1, 4.1.10, 4.1.11, 4.1.12, 4.1.15, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.1.9].
- overtrue/wechat 4.0.0 requires overtrue/socialite ^2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.1 requires overtrue/socialite ^2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.10 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.11 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.12 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.13 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.14 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.15 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.16 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.17 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.18 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.19 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.2 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.20 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.21 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.22 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.23 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.24 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.25 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.26 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.27 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.28 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.29 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.3 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.30 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.31 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.32 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.33 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.34 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.35 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.36 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.37 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.38 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.39 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.4 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.40 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.41 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.42 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.5 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.6 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.7 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.8 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.0.9 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.0 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.1 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.10 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.11 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.12 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.15 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.2 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.3 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.4 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.5 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.6 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.7 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.8 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- overtrue/wechat 4.1.9 requires overtrue/socialite ~2.0 -> satisfiable by overtrue/socialite[2.0.0, 2.0.1, 2.0.2, 2.0.3].
- Can only install one of: overtrue/socialite[2.0.0, 1.3.0].
- Can only install one of: overtrue/socialite[2.0.1, 1.3.0].
- Can only install one of: overtrue/socialite[2.0.2, 1.3.0].
- Can only install one of: overtrue/socialite[2.0.3, 1.3.0].
- Installation request for overtrue/socialite (locked at 1.3.0) -> satisfiable by overtrue/socialite[1.3.0].
Installation failed, reverting ./composer.json to its original content.
百度搜索多次,没有类似问题,我也尝试升级YII2再进行安装,结果没有任何用处,报错仍然一模一样
你期待的结果是什么?实际看到的错误信息又是什么?
期待能有大神帮忙解答
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
jianyan74/yii2-easy-wechat
依赖overtrue/socialite
2.0以上但是之前项目里已有
overtrue/socialite
1.3.0扩展把
overtrue/socialite
移除掉重新安装就可以了