“Setup version for module 'xxx' is not specified” [closed]
-
13-12-2019 - |
Question
I've been trying to get up to speed on how to build Magento 2 modules using the merchant beta but when building a module I'm getting stuck at the error message in the title.
From what I've understood this error message should be showing up if I've forgotten to add setup_version="x.y.z"
to my <module>
element in etc/modules.xml
but I already have that. So, what other "magic" causes of this error exist?
Solution
Well duh, just realized that renaming etc/modules.xml
to etc/module.xml
fixed it.
I did think it was an odd name but saw multiple tutorials on Magento 2 modules call it modules.xml
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange