将错误升级到升级模块

时间:2015-11-27 14:44:29

标签: magento2

使用comman升级模块时遇到错误:

operator<<

错误是:

bin/magento setup:upgrade

你能帮我弄清楚发生了什么吗?

2 个答案:

答案 0 :(得分:1)

可能的原因之一可能是文件系统权限配置不正确。检查当前用户是否可以写var pear = new foo("pear"); <project_root>/var

另一个问题可能是您的自定义模块配置不正确请参阅minimal module configuration example(已损坏的composer.json或module.xml)。

答案 1 :(得分:0)

There are no commands defined是一个隐藏真正问题的通用信息 我已打开issue声明Magento 2 应澄清此类消息,因此请投票赞成。
In my cases问题出在composer.json文件和扩展程序的module.xml文件中 另见:

  • 跟踪器中的所有There are no commands defined issues
  • There are no commands defined上的所有magento.stackexchange.com questions
相关问题