在CRMEB项目上,想安装新的包,运行:
composer require yansongda/pay -vvv
出现提示
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package overtrue/wechat (locked at 3.3.33, required as ^4.2.33) is satisfiable by overtrue/wechat[3.3.33] but these conflict with your requirements or minimum-stability.
Problem 2
- The requested package symfony/event-dispatcher (locked at v2.8.52, required as ^5.2) is satisfiable by symfony/event-dispatcher[v2.8.52] but these conflict with your requirements or mini

在CRMEB项目中遇到Composer包overtrue/wechat和symfony/event-dispatcher的版本冲突,尝试升级和移除操作导致死循环。解决方案是使用`composer remove`命令时加上`--update-no-dev`参数,这能避免开发依赖导致的问题。可能还需手动清理composer.lock和vendor/composer/installed.json中的旧记录,然后重新安装所需新版本组件。
最低0.47元/天 解锁文章
2014

被折叠的 条评论
为什么被折叠?



