I am creating an module in Magento 2 ( ver. 2.0.0). I have registered my module in app/etc/config.xml
'Namespace_Modulename => 1,
My module.xml
file under app/code/Namespace/Modulename/etc/module.xml
module.xml :
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="Namespace_Modulename" setup_version="2.0.1"/>
</config>
When I run my module Magento 2 generate below error :
Setup version for module 'Namespace_Modulename' is not specified
My module was working fine before stable release, after upgraded to stable release I start getting this error. I searched lot on google before adding here, got some results but none of then working for me.
Kindly guide me where I am doing wrong.
setup_version
is magento version, not module version. Try 2.0.0setup_version
with 2.0.0 but still getting the same errorsetup_verion
is magento version then where we specify module version?setup_version="1.0.0"
is the module version