我正在尝试通过 MacOS 上的 composer 安装 Magento2.4.5,但出现此错误“未定义的变量 $bestCandidate”

问题描述 投票:0回答:0

enter image description here

我正在尝试安装 magento2.4.5 社区版,但我在终端中收到此错误:“Undefined variable $bestCandidate In Version.php line 49.”

我做的步骤:

  • 已安装 PHP 8.1.18
  • 安装 mySQL 和 Apache Server
  • 生成我的私钥和公钥并在 https://marketplace.magento.com/
  • 中授予访问权限
  • 安装的作曲家 -composer create-project --repository-url=https://repo.magento.com/magento/project-community-edition 上面的点失败了
magento2 php-8
© www.soinside.com 2019 - 2024. All rights reserved.