Metadata key files not supported


I have installed Oxid eshop 6.2.0 and created new module. while installing the new module via composer
"The metadata key “files” not supported in metadata version 2.0 " error occurred. I have removed the files in my module for the metadata.php file but my module is not displayed in shop backend.

Can any one please provide me a solution.

Thanks in advance.

you have to register your module like this (this is new in 6.2):

php7.2 ./vendor/bin/oe-console oe:module:install source/modules/vendordir/yourmodule

Thank you for your quick reply.

Now my module is working fine. Thank you very much :slight_smile: