我在Laravel 8和9中安装了FlutterWave软件包,但面对这个问题

发布于 2025-02-10 18:41:27 字数 930 浏览 2 评论 0原文

我运行此命令

作曲家安装FlutterWavedev/FlutterWave-V3

给我这个错误。

无效的参数FlutterWavedev/FlutterWave-V3。使用“作曲家需要flutterwavedev/flutterwave-v3”,而不是将软件包添加到composer.json。

当我们运行此命令时,“作曲家需要FlutterWavedev/FlutterWave-V3”。

您的要求无法解决到可安装的软件包集。

问题1 -FlutterWavedEv/FlutterWave -V3 1.0.0需要单一/单一1.* - >找到了独白/单一[1.0.0-rc1,...,1.x-dev],但包裹通过部分更新固定为2.6.0(锁定文件版本),并且该版本不匹配。确保将其列为更新命令的参数。 -FlutterWavedEv/FlutterWave -V3 1.0.1需要Vlucas/phpdotenv ^2.5 - >找到Vlucas/phpdotenv [v2.5.0,...,2.6.x-dev],但该软件包通过部分更新固定在v5.4.1(锁定文件版本)上,并且该版本不匹配。确保将其列为更新命令的参数。 - root composer.json需要FlutterWavedev/FlutterWave -V3 ^1.0 - >可通过FlutterWavedEv/FlutterWave-V3 [1.0.0,1.0.1]满足。

使用该选项 - 无数依赖性(-w)允许当前锁定到特定版本的软件包的升级,降级和卸载。
您还可以尝试使用明确版本约束的重新运行作曲家要求,例如“作曲家需要FlutterWavedev/FlutterWave-V3:*”以找出是否可以安装任何版本,或者“ Composer需要FlutterWavedev/FlutterWave-V3:^2.1”你知道你需要的。

安装失败,恢复./composer.json和./composer.lock到其原始内容。

i run this command

composer install flutterwavedev/flutterwave-v3

give me this error.

Invalid argument flutterwavedev/flutterwave-v3. Use "composer require flutterwavedev/flutterwave-v3" instead to add packages to your composer.json.

when we run this command "composer require 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. 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. 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].

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 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.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

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

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

发布评论

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

评论(2

听,心雨的声音 2025-02-17 18:41:27

您还可以使用作曲家需要Abraham-FlutterWave/Laravel-Payment

包装支持Laravel 8-> 10

https://github.com/bajoski34/laravel

you can also use composer require abraham-flutterwave/laravel-payment

The package supports Laravel 8 -> 10

https://github.com/bajoski34/Laravel

百变从容 2025-02-17 18:41:27

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

I think currently flutter wave isn't compatible with Laravel 9 yet.

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