cancel
Showing results for 
Search instead for 
Did you mean: 

How create one package for two modules in magento 2 market place

How create one package for two modules in magento 2 market place

Hi All

 

I have two modules and need to create one package for both to upload on market place. 

How i can create?

 

I have validated the zip file but getting error for this:

More than one top-level directory detected, number of directories = 2. Top level directory expected to be the module directory

 

 

Thanks

1 REPLY 1

Re: How create one package for two modules in magento 2 market place

Hello,
I do not know how you are making a single package for both the mdoule and creating a zip file. But create a lib folder inside one module and paste another module inside that lib folder and give correct mapping of that second module in composer.json file and create a zip file. To upload a module in magento 2 marketplace and to create a zip file for that here is the guide.

https://www.atwix.com/magento-2/how-to-make-a-package-for-marketplace-in-magento-2/ 

Happy Coding Smiley Happy