【问题标题】:Could Not Install Package gloudemans/shoppingcart无法安装软件包 gloudemans/shoppingcart
【发布时间】:2021-06-05 09:26:56
【问题描述】:

我正在尝试安装,我使用的是 laravel 8.3 版本

作曲家需要 gloudemans/shoppingcart

但出现了这样的错误:

Problem 1
- Root composer.json requires gloudemans/shoppingcart ^2.6 -> satisfiable by gloudemans/shoppingcart[2.6.0].
- gloudemans/shoppingcart 2.6.0 requires illuminate/support 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*|| 5.6.* || 5.7.* -> found illuminate/support[v5.1.1, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.

有人可以解决我的问题吗?

【问题讨论】:

标签: php html laravel xampp


【解决方案1】:

从错误来看,gloudemans/shoppingcart 2.6 版本不支持 Laravel 8。它支持的最新版本是 Laravel 5.7。

如果你访问它的packagist 页面,它会列出它支持的照明/支持(即 Laravel)版本。

【讨论】:

    猜你喜欢
    • 2020-10-18
    • 2017-11-02
    • 2020-05-15
    • 2020-09-26
    • 2021-10-06
    • 2023-03-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多