I tried to upload my Magento 2 module in Magento Marketplace while uploading the file, there was suddenly error came up and stopped to proceed.
Can anyone help with the error?
Error:
"Failed to validate composer.json - demo/registration.php file is missing.,demo/etc/module.xml file is missing."
I think I'm missing something or my extension file structure is not good. I've added composer.json on the root directory and in my module, there are five submodules.