1

在为 oro 商业设置 Vagrant 时面临问题。

default:   Problem 1
default:     - ocramius/package-versions is locked to version 1.5.1 and an update of this package was not requested.
default:     - ocramius/package-versions 1.5.1 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
default:   Problem 2
default:     - robloach/component-installer is locked to version 0.2.3 and an update of this package was not requested.
default:     - robloach/component-installer 0.2.3 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
default:   Problem 3
default:     - ocramius/package-versions 1.5.1 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
default:     - ocramius/proxy-manager 2.1.1 requires ocramius/package-versions ^1.1.1 -> satisfiable by ocramius/package-versions[1.5.1].
default:     - ocramius/proxy-manager is locked to version 2.1.1 and an update of this package was not requested.

即使 vagrant up 说 Oro 商务应用程序已成功安装,我在自定义端口号 http://localhost:8082 上看不到任何内容

4

1 回答 1

1

出现此问题是因为您的 vagrant 图像使用了现在默认安装的 Composer v2。但 OroCommerce 尚不兼容。应该使用版本 1.*。

您可以升级到 OroCommerce 4.1.10 以获取带有修复程序的 Vagrantfile。

如果您现在无法升级,请为您的项目复制更新的 vagrant 文件: https ://github.com/oroinc/orocommerce-application/blob/4.1.10/Vagrantfile

于 2020-12-07T15:20:43.197 回答