- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我尝试安装 gloudemans/shoppingcart 时遇到错误:
Installation failed, reverting
Problem 1
- Installation request for gloudemans/shoppingcart ^2.6 -> satisfiable by gloudemans/shoppingcart[2.6.0].
- Conclusion: remove laravel/framework v7.17.2
- Conclusion: don't install laravel/framework v7.17.2
- gloudemans/shoppingcart 2.6.0 requires illuminate/events 5.1.*
我也试过安装不同版本的 laravel 和 illuminate/events
像必需的但仍然没有,总是有同样的问题。
Composer 需要 gloudemans/shoppingcart:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for gloudemans/shoppingcart ^2.6 -> satisfiable by gloudemans/shoppingcart[2.6.0].
- Conclusion: remove laravel/framework v7.17.2
- Conclusion: don't install laravel/framework v7.17.2
- gloudemans/shoppingcart 2.6.0 requires illuminate/events 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*|| 5.6.* || 5.7.* -> satisfiable by illuminate/events[5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.17, 5.7.18, 5.7.19, 5.7.x-dev, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9, v5.7.0, v5.7.1, v5.7.10, v5.7.11, v5.7.15, v5.7.2, v5.7.20, v5.7.21, v5.7.22, v5.7.23, v5.7.26, v5.7.27, v5.7.28, v5.7.3, v5.7.4, v5.7.5, v5.7.6, v5.7.7, v5.7.8, v5.7.9].
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.17.2
- don't install illuminate/events 5.2.x-dev|don't install laravel/framework v7.17.2
- don't install illuminate/events 5.3.x-dev|don't install laravel/framework v7.17.2
- don't install illuminate/events 5.4.x-dev|don't install laravel/framework v7.17.2
- don't install illuminate/events 5.5.x-dev|don't install laravel/framework v7.17.2
- don't install illuminate/events 5.6.x-dev|don't install laravel/framework v7.17.2
- don't install illuminate/events 5.7.17|don't install laravel/framework v7.17.2
- don't install illuminate/events 5.7.18|don't install laravel/framework v7.17.2
- don't install illuminate/events 5.7.19|don't install laravel/framework v7.17.2
- don't install illuminate/events 5.7.x-dev|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.1|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.13|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.16|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.2|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.20|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.22|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.25|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.28|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.30|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.31|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.41|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.6|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.1.8|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.0|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.19|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.21|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.24|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.25|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.26|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.27|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.28|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.31|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.32|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.37|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.43|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.45|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.6|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.2.7|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.3.0|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.3.16|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.3.23|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.3.4|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.4.0|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.4.13|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.4.17|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.4.19|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.4.27|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.4.36|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.4.9|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.0|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.16|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.17|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.2|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.28|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.33|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.34|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.35|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.36|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.37|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.39|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.40|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.41|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.43|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.5.44|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.0|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.1|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.10|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.11|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.12|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.13|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.14|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.15|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.16|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.17|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.19|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.2|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.20|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.21|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.22|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.23|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.24|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.25|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.26|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.27|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.28|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.29|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.3|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.30|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.31|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.32|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.33|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.34|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.35|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.36|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.37|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.38|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.39|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.4|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.5|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.6|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.7|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.8|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.6.9|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.0|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.1|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.10|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.11|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.15|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.2|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.20|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.21|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.22|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.23|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.26|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.27|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.28|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.3|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.4|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.5|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.6|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.7|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.8|don't install laravel/framework v7.17.2
- don't install illuminate/events v5.7.9|don't install laravel/framework v7.17.2
- Installation request for laravel/framework (locked at v7.17.2, required as ^7.0) -> satisfiable by laravel/framework[v7.17.2].
Installation failed, reverting ./composer.json to its original content.
Composer .json:
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^7.2.5",
"fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^1.0",
"guzzlehttp/guzzle": "^6.3",
"laravel/framework": "^7.0",
"laravel/tinker": "^2.0",
"laravel/ui": "^2.0"
},
"require-dev": {
"facade/ignition": "^2.0",
"fzaninotto/faker": "^1.9.1",
"mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^4.1",
"phpunit/phpunit": "^8.5"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"autoload": {
"psr-4": {
"App\\": "app/"
},
"classmap": [
"database/seeds",
"database/factories"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
}
}
composer 需要 illuminate/events 5.1.*
:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install illuminate/events v5.1.41
- Conclusion: don't install illuminate/events v5.1.31
- Conclusion: don't install illuminate/events v5.1.30
- Conclusion: don't install illuminate/events v5.1.28
- Conclusion: don't install illuminate/events v5.1.25
- Conclusion: don't install illuminate/events v5.1.22
- Conclusion: don't install illuminate/events v5.1.20
- Conclusion: don't install illuminate/events v5.1.16
- Conclusion: don't install illuminate/events v5.1.13
- Conclusion: don't install illuminate/events v5.1.8
- Conclusion: don't install illuminate/events v5.1.6
- Conclusion: don't install illuminate/events v5.1.2
- Conclusion: don't install illuminate/events v5.1.1
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework 7.x-dev
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.0.0
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.0.1
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.0.2
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.0.3
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.0.4
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.0.5
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.0.6
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.0.7
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.0.8
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.1.0
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.1.1
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.1.2
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.1.3
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.10.0
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.10.1
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.10.2
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.10.3
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.11.0
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v7.12.0
- Installation request for illuminate/events 5.1.* -> satisfiable by illuminate/events[5.1.x-dev, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8].
- Installation request for laravel/framework ^7.0 -> satisfiable by laravel/framework[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.10.0, v7.10.1, v7.10.2, v7.10.3, v7.11.0, v7.12.0, v7.13.0, v7.14.0, v7.14.1, v7.15.0, v7.16.0, v7.16.1, v7.17.0, v7.17.1, v7.17.2, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.5.0, v7.5.1, v7.5.2, v7.6.0, v7.6.1, v7.6.2, v7.7.0, v7.7.1, v7.8.0, v7.8.1, v7.9.0, v7.9.1, v7.9.2].
Installation failed, reverting ./composer.json to its original content.
最佳答案
对于 Laravel 5.7 或更高版本,购物车包不再起作用。这是一个以完全相同的方式工作但支持更新版本的 Laravel 的分支:
关于laravel - 尝试安装 gloudemans/shoppingcart,安装失败,将 ./composer.json 恢复为其原始内容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62617526/
当需要将原始类型转换为字符串时,例如传递给需要字符串的方法时,基本上有两种选择。 以int为例,给出: int i; 我们可以执行以下操作之一: someStringMethod(Integer.to
我有一个位置估计数据库,并且想要计算每月的内核利用率分布。我可以使用 R 中的 adehabitat 包来完成此操作,但我想使用引导数据库中的样本来估计这些值的 95% 置信区间。今天我一直在尝试引导
我希望使用 FTP 编写大型机作业流。为此,我可以通过 FTP 连接到大型机并运行以下命令: QUOTE TYPE E QUOTE SITE FILETYPE=JES PUT myjob.jcl 那么
我是 WPF 的新手。 目前,我正在为名为“LabeledTextbox”的表单元素制作一个用户控件,其中包含一个标签、一个文本框和一个用于错误消息的文本 block 。 当使用代码添加错误消息时,我
我们正在使用 SignalR(原始版本,而不是 Core 版本)并注意到一些无法解释的行为。我们的情况如下: 我们有一个通过 GenericCommand() 方法接受命令的集线器(见下文)。 这些命
使用 requests module 时,有没有办法打印原始 HTTP 请求? 我不只想要标题,我想要请求行、标题和内容打印输出。是否可以看到最终由 HTTP 请求构造的内容? 最佳答案 Since
与直接访问现有本地磁盘或分区的物理磁盘相比,虚拟磁盘为文件存储提供更好的可移植性和效率。VMware有三种不同的磁盘类型:原始磁盘、厚磁盘和精简磁盘,它们各自分配不同的存储空间。 VMware
我有一个用一些颜色着色器等创建的门。 前段时间我拖着门,它问我该怎么办时,我选择了变体。但现在我决定选择创建原始预制件和门颜色,或者着色器变成粉红色。 这是资源中原始预制件和变体的屏幕截图。 粉红色的
我想呈现原始翻译,所以我决定在 Twig 模板中使用“原始”选项。但它不起作用。例子: {{ form_label(form.sfGuardUserProfile.roules_acceptance)
是否可以在sqlite中制作类似的东西? FOREIGN KEY(TypeCode, 'ARawValue', IdServeur) REFERENCES OTHERTABLE(TypeCode, T
这个问题是一个更具体问题的一般版本 asked here .但是,这些答案无法使用。 问题: geoIP数据的原始来源是什么? 许多网站会告诉我我的 IP 在哪里,但它们似乎都在使用来自不到 5 家公
对于Openshift:如何基于Wildfly创建docker镜像? 这是使用的Dockerfile: FROM openshift/wildfly-101-centos7 # Install exa
结果是 127 double middle = 255 / 2 虽然这产生了 127.5 Double middle = 255 / 2 同时这也会产生 127.5 double middle = (
在此处下载带有已编译可执行文件的源代码(大小:161 KB(165,230 字节)):http://www.eyeClaxton.com/download/delphi/ColorSwap.zip 原
以下几行是我需要在 lua 中使用的任意正则表达式。 ['\";=] !^(?:(?:[a-z]{3,10}\s+(?:\w{3,7}?://[\w\-\./]*(?::\d+)?)?/[^?#]*(
这个问题是一个更具体问题的一般版本 asked here .但是,这些答案无法使用。 问题: geoIP数据的原始来源是什么? 许多网站会告诉我我的 IP 在哪里,但它们似乎都在使用来自不到 5 家公
我正在使用GoLang做服务器api,试图管理和回答所发出的请求。使用net/http和github.com/gorilla/mux。 收到请求时,我使用以下结构创建响应: type Response
tl; dr:我认为我的 static_vector 有未定义的行为,但我找不到它。 这个问题是在 Microsoft Visual C++ 17 上。我有这个简单且未完成的 static_vecto
我试图找到原始 Awk (a/k/a One True Awk) 源代码的“历史”版本。我找到了 Kernighan's occasionally-updated site ,它似乎总是链接到最新版本
我在 python 中使用原始 IPv6 套接字时遇到一些问题。我通过以下方式连接: if self._socket != None: # Close out old sock
我是一名优秀的程序员,十分优秀!