Magento 2 - 全新安装

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

创建全新的 m2 安装。按照我们通常的步骤进行。通过作曲家安装它。

composer create-project --repository=https://repo.magento.com/ magento/project-community-edition

但随后出现以下错误。

有什么想法吗?

 composer create-project --repository=https://repo.magento.com/ magento/project-community-edition
Creating a "magento/project-community-edition" project at "./project-community-edition"
Warning from repo.magento.com: You haven't provided your Magento authentication keys. For instructions, visit https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html

In CurlDownloader.php line 617:

  The "https://repo.magento.com/packages.json" file could not be downloaded (HTTP/2 404 ):
  {"warning":"You haven\u0027t provided your Magento authentication keys. For instructions, visit https:\/\/devdocs.magento.com\/guides\/v2.3\/install-gde\/prereq\/connect-auth.html"}


create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]

尝试了几个选项,但都得到相同的答案。

composer-php magento2
© www.soinside.com 2019 - 2024. All rights reserved.