首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装nao-pon/flysystem-google-drive的问题

安装nao-pon/flysystem-google-drive的问题
EN

Stack Overflow用户
提问于 2022-05-15 14:17:45
回答 1查看 1K关注 0票数 4

我在安装nao-pon/flysystem-google-drive时遇到了问题

当我运行命令时,composer需要nao-pon/flysystem-google-drivenao-pon/flysystem-google-drive:~1.1

我得到了这样的错误:

代码语言:javascript
复制
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - Root composer.json requires nao-pon/flysystem-google-drive ^1.1 -> satisfiable by nao-pon/flysystem-google-drive[1.1.0, ..., 1.1.x-dev].
    - nao-pon/flysystem-google-drive[1.1.0, ..., 1.1.x-dev] 
require league/flysystem ~1.0 -> found league/flysystem[1.0.0-alpha1, ..., 1.x-dev] but it conflicts with your root composer.json require (^3.0).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades, and removals for packages currently locked to 
specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require nao-pon/flysystem-google-drive:*" to figure out if any version is installable, or "composer require nao-pon/flysystem-google-drive:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.

我需要做些什么来解决这个问题?谢谢!

EN

回答 1

Stack Overflow用户

发布于 2022-05-17 11:30:20

nao-pon/flysystem-google-drive上一次更新是在近两年前。它依赖于league/flysystem的旧版本(即: v1分支中的任意版本),但您的代码目前需要v3 of league/flysystem。如果您不想降级(因为这可能需要大量的工作),您可以使用任何其他Google适配器,比如masbug/flysystem-google-drive-ext

票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72249087

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档