首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
安装hyperf/view时候出错
今天用 composer require hyperf/view报错,错误信息如下 : ```html Using version ^2.1 for hyperf/view ./composer.json has been updated Running composer update hyperf/view --with-all-dependencies Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - hyperf/testing is locked to version v2.0.14 and an update of this package was not requested. - Conclusion: don't install hyperf/contract v2.0.1 (conflict analysis result) - Conclusion: don't install hyperf/contract v2.0.3 (conflict analysis result) - Conclusion: don't install hyperf/contract v2.0.9 (conflict analysis result) - Conclusion: don't install hyperf/contract v2.0.13 (conflict analysis result) - Conclusion: don't install hyperf/view v2.1.0 (conflict analysis result) - hyperf/view 2.1.x-dev is an alias of hyperf/view dev-master and thus requires it to be installed too. - hyperf/view[dev-master, v2.1.0-beta1, ..., 2.1.x-dev] require hyperf/contract ~2.1.0 -> satisfiable by hyperf/contract[v2.1.0-beta1, v2.1.0, 2.1.x-dev (alias of dev-master)]. - hyperf/contract 2.1.x-dev is an alias of hyperf/contract dev-master and thus requires it to be installed too. - You can only install one version of a package, so only one of these can be installed: hyperf/contract[dev-master, v2.0.0, ..., 2.1.x-dev]. - hyperf/testing v2.0.14 requires hyperf/contract ~2.0.0 -> satisfiable by hyperf/contract[v2.0.0, ..., 2.0.x-dev]. - Conclusion: don't install hyperf/contract v2.0.0 (conflict analysis result) - Root composer.json requires hyperf/view ^2.1 -> satisfiable by hyperf/view[v2.1.0-beta1, v2.1.0, 2.1.x-dev (alias of dev-master)]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. Installation failed, reverting ./composer.json and ./composer.lock to their original content. ``` 请问这个有知道要怎么解决的没 我需要安装他的模板引擎
发布于3年前 · 12 次浏览 · 来自
提问
冰点阳光
今天用 composer require hyperf/view报错,错误信息如下 : ```html Using version ^2.1 for hyperf/view ./composer.json has been updated Running composer update hyperf/view --with-all-dependencies Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - hyperf/testing is locked to version v2.0.14 and an update of this package was not requested. - Conclusion: don't install hyperf/contract v2.0.1 (conflict analysis result) - Conclusion: don't install hyperf/contract v2.0.3 (conflict analysis result) - Conclusion: don't install hyperf/contract v2.0.9 (conflict analysis result) - Conclusion: don't install hyperf/contract v2.0.13 (conflict analysis result) - Conclusion: don't install hyperf/view v2.1.0 (conflict analysis result) - hyperf/view 2.1.x-dev is an alias of hyperf/view dev-master and thus requires it to be installed too. - hyperf/view[dev-master, v2.1.0-beta1, ..., 2.1.x-dev] require hyperf/contract ~2.1.0 -> satisfiable by hyperf/contract[v2.1.0-beta1, v2.1.0, 2.1.x-dev (alias of dev-master)]. - hyperf/contract 2.1.x-dev is an alias of hyperf/contract dev-master and thus requires it to be installed too. - You can only install one version of a package, so only one of these can be installed: hyperf/contract[dev-master, v2.0.0, ..., 2.1.x-dev]. - hyperf/testing v2.0.14 requires hyperf/contract ~2.0.0 -> satisfiable by hyperf/contract[v2.0.0, ..., 2.0.x-dev]. - Conclusion: don't install hyperf/contract v2.0.0 (conflict analysis result) - Root composer.json requires hyperf/view ^2.1 -> satisfiable by hyperf/view[v2.1.0-beta1, v2.1.0, 2.1.x-dev (alias of dev-master)]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. Installation failed, reverting ./composer.json and ./composer.lock to their original content. ``` 请问这个有知道要怎么解决的没 我需要安装他的模板引擎
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2021-01-01
鲁飞
你升级2.1了吗? 没升级require的时候就指定2.0的版本
赞
1
回复
2021-01-01
冰点阳光
回复
鲁飞
可以了 谢谢
赞
0
回复
微信公众号
热门内容
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。