nad*_*dia 6 php laravel composer-php google-drive-api flysystem-google-drive
我安装时遇到问题nao-pon/flysystem-google-drive
当我运行命令时,作曲家需要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.
Run Code Online (Sandbox Code Playgroud)
我需要做什么才能解决这个问题?谢谢!
nao-pon/flysystem-google-drive上次更新是在近两年前。它取决于旧版本league/flysystem(即:v1 分支中的任何版本),但您的代码当前需要 v3 的league/flysystem. 如果您不想降级(因为这可能需要大量工作),您可以使用任何其他 Google Drive 适配器,例如masbug/flysystem-google-drive-ext
| 归档时间: |
|
| 查看次数: |
3419 次 |
| 最近记录: |