安装NAO-PON/FLYSYSTEM-GOOGLE-DRIVE LARALV的问题
有问题
我在安装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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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 ofleague/flysystem
(namely: any from the v1 branch), but your code currently requires v3 ofleague/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, likemasbug/flysystem-google-drive-ext