开发者社区> 问答> 正文

阿里云OpenAPI 这个tea-utils是有0.2.20版本的。为啥还会报这个错误呢?

阿里云OpenAPI Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires alibabacloud/chatbot-20220408 2.0.0 -> satisfiable by alibabacloud/chatbot-20220408[2.0.0]. - alibabacloud/chatbot-20220408 2.0.0 requires alibabacloud/tea-utils ^0.2.20 -> found alibabacloud/tea-utils[0.2.20] but the package is fixed to 0.2.19 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.看一下,https://repo.packagist.org/packages/alibabacloud/tea-utils 这个tea-utils是有0.2.20版本的。为啥还会报这个错误呢?4e4ffde8f2835794fc5346f6ece87a62.png

展开
收起
夹心789 2024-05-29 08:39:15 139 0
2 条回答
写回答
取消 提交回答
  • 阿里源 的问题 换其他的就可以了 composer config -g repo.packagist composer https://repo.packagist.org

    2024-06-05 10:18:41
    赞同 1 展开评论 打赏
  • 让客户执行命令后面加上 -W ,此回答整理自钉群“OpenAPI 开发者门户 - 值班服务群2群”

    2024-05-29 10:19:48
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
AutoTalk第七期:自动化工具-OpenAPI在线调试 立即下载
最大化阿里云OpenAPI能力的方法和实践 立即下载
低代码开发师(初级)实战教程 立即下载