简体   繁体   English

我在 laravel 8 和 9 中安装了 flutterwave 包,但遇到了这个问题

[英]I install the flutterwave package in laravel 8 and 9 but facing this issue

i run this command我运行这个命令

composer install flutterwavedev/flutterwave-v3作曲家安装flutterwavedev/flutterwave-v3

give me this error.给我这个错误。

Invalid argument flutterwavedev/flutterwave-v3.无效参数flutterwavedev/flutterwave-v3。 Use "composer require flutterwavedev/flutterwave-v3" instead to add packages to your composer.json.使用“composer require flutterwavedev/flutterwave-v3”代替将包添加到您的composer.json。

when we run this command "composer require flutterwavedev/flutterwave-v3".当我们运行这个命令“composer 需要flutterwavedev/flutterwave-v3”。

Your requirements could not be resolved to an installable set of packages.您的要求无法解决为一组可安装的软件包。

Problem 1 - flutterwavedev/flutterwave-v3 1.0.0 requires monolog/monolog 1.* -> found monolog/monolog[1.0.0-RC1, ..., 1.x-dev] but the package is fixed to 2.6.0 (lock file version) by a partial update and that version does not match.问题 1 - flutterwavedev/flutterwave-v3 1.0.0 需要 monolog/monolog 1.* -> 找到 monolog/monolog[1.0.0-RC1, ..., 1.x-dev] 但包固定为 2.6.0 (锁定文件版本)通过部分更新和该版本不匹配。 Make sure you list it as an argument for the update command.确保将其列为更新命令的参数。 - flutterwavedev/flutterwave-v3 1.0.1 requires vlucas/phpdotenv ^2.5 -> found vlucas/phpdotenv[v2.5.0, ..., 2.6.x-dev] but the package is fixed to v5.4.1 (lock file version) by a partial update and that version does not match. -flutterwavedev/flutterwave-v3 1.0.1 需要 vlucas/phpdotenv ^2.5 -> 找到 vlucas/phpdotenv[v2.5.0, ..., 2.6.x-dev] 但包固定为 v5.4.1(锁定文件版本)通过部分更新,该版本不匹配。 Make sure you list it as an argument for the update command.确保将其列为更新命令的参数。 - Root composer.json requires flutterwavedev/flutterwave-v3 ^1.0 -> satisfiable by flutterwavedev/flutterwave-v3[1.0.0, 1.0.1]. - 根 composer.json 需要 flutterwavedev/flutterwave-v3 ^1.0 -> 可由 flutterwavedev/flutterwave-v3[1.0.0, 1.0.1] 满足。

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.使用选项 --with-all-dependencies (-W) 允许升级、降级和删除当前锁定到特定版本的包。
You can also try re-running composer require with an explicit version constraint, eg "composer require flutterwavedev/flutterwave-v3:*" to figure out if any version is installable, or "composer require flutterwavedev/flutterwave-v3:^2.1" if you know which you need.您也可以尝试使用明确的版本约束重新运行 composer require,例如“composer require flutterwavedev/flutterwave-v3:*”以确定是否有任何版本可安装,或者“composer require flutterwavedev/flutterwave-v3:^2.1”如果你知道你需要哪个。

Installation failed, reverting ./composer.json and ./composer.lock to their original content.安装失败,正在将 ./composer.json 和 ./composer.lock 还原为其原始内容。

我认为目前 Flutter Wave 与 Laravel 9 不兼容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM