Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在“overtrue/wechat”5.0版本的基础上composer安装出错,是否要修改支持兼容高版本的“overtrue/wechat”5.0 #4

Open
liulang108 opened this issue Apr 28, 2021 · 2 comments

Comments

@liulang108
Copy link

您好,我在安装EasyWeChat/console时运行下面指令
COMPOSER_MEMORY_LIMIT=-1 composer require easywechat/console -vvv
安装失败
image
是不是“overtrue/wechat”的版本为5.0导致安装失败
image

@overtrue
Copy link
Contributor

你的图看不清。。。,尝试删除 composer.lock 再装

@liulang108
Copy link
Author

image
“overtrue/wechat”降级为4.0版本后重新安装,又提示 Installation request for symfony/process (locked at v5.2.4) -> satisfiable by symfony/process[v5.2.4].symfony的版本高于4.0导致安装失败
此扩展包里的composer.json要求
"require": {
"php": ">=7.0",
"symfony/process": "^3.0|^4.0",
"symfony/console": "^3.0|^4.0",
"overtrue/wechat": "^4.0"
},
当前项目中已安装的symfony和overtrue/wechat的版本比较高,都是5.0版的了,故安装失败,能不能升级兼容更多版本的安装,可否改为:
"require": {
"php": ">=7.0",
"symfony/process": "^3.0|^4.0|^5.0",
"symfony/console": "^3.0|^4.0|^5.0",
"overtrue/wechat": "^4.0|^5.0"
},
或者后面兼容更多的版本号
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants