首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Magento 2-代码-使用git进行迁移安装

Magento 2-代码-使用git进行迁移安装
EN

Stack Overflow用户
提问于 2016-02-16 18:21:22
回答 1查看 617关注 0票数 0

我已经得到了将Magento1.x的代码迁移到Magento2.x的工具的link

我已经尝试在cmd中执行以下命令来安装此模块-

代码语言:javascript
复制
composer config repositories.code-migration git https://github.com/magento/code-migration

composer require magento/migration:dev-master

我就快不行了-

代码语言:javascript
复制
` 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.

你知道怎么解决这个问题吗?

EN

回答 1

Stack Overflow用户

发布于 2016-02-17 02:14:37

变化

代码语言:javascript
复制
composer require magento/migration:dev-master

代码语言:javascript
复制
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/数据迁移工具:

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

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35429812

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档