【问题标题】:Magento 2- code-migration installation using gitMagento 2- 使用 git 进行代码迁移安装
【发布时间】:2016-02-16 10:21:22
【问题描述】:

我有 link 用于将 Magento 1.x 的代码迁移到 Magento 2.x 的工具。

我已尝试在 cmd 中使用以下命令来安装此模块 -

composer config repositories.code-migration git https://github.com/magento/code-migration

composer require magento/migration:dev-master

我遇到了异常 -

` Problem 1`
    - The requested package magento/code-migration-develop could not be found in any version, there may be a typo in the package name.

`Potential causes`:
 1. A typo in the package name
 2. The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

知道如何解决这个问题吗?

【问题讨论】:

  • 嗨,你的进展如何?

标签: git magento magento2 magento-2.0


【解决方案1】:

改变

composer require magento/migration:dev-master

composer require magento/data-migration-tool:2.0.2

引用参考:http://devdocs.magento.com/guides/v2.0/migration/migration-tool-install.html#install-github

composer 需要 magento/data-migration-tool:

其中 必须与 Magento 2 代码库的版本匹配。

【讨论】:

    猜你喜欢
    • 2016-10-11
    • 1970-01-01
    • 2012-12-29
    • 2018-04-29
    • 1970-01-01
    • 1970-01-01
    • 2017-08-26
    • 2019-09-30
    • 2014-05-23
    相关资源
    最近更新 更多