安装NAO-PON/FLYSYSTEM-GOOGLE-DRIVE LARALV的问题

发布于 2025-01-29 03:17:00 字数 1118 浏览 1 评论 0原文

有问题

我在安装nao-pon/flysystem-google-drive时 nao-pon/flysystem-google-drive:〜1.1

我得到这样的错误:

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.

解决此问题我需要做什么?谢谢!

I have a problem with installing nao-pon/flysystem-google-drive

When I run the command, composer requires nao-pon/flysystem-google-drive or nao-pon/flysystem-google-drive:~1.1

I get the error like this:

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.

What do I need to do to resolve this problem? Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淑女气质 2025-02-05 03:17:00

NAO-PON/FLYSYSTEM-GOOGLE-DRIVE已经在两年前看到了最后一次更新。它取决于loague/flysystem的旧版本(即:来自V1分支的任何),但是您的代码当前需要loague/flysystem的V3 。如果您不想降级(因为这可能需要大量工作),则可以使用任何其他Google驱动器适配器,例如 masbug/flysystem-google-drive-ext

nao-pon/flysystem-google-drive has seen its last update nearly two years ago. It depends on an old version of league/flysystem (namely: any from the v1 branch), but your code currently requires v3 of league/flysystem. If you don't want to downgrade that (as this might need a lot of work), you could use any other Google Drive adapter, like masbug/flysystem-google-drive-ext

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文