Magento2 – Fixing Enabling Module Error in Vendor After Installing with Composer

composerenable-disablelinuxmagento2module

I add a module with composer and then try to enable it by writing the command php bin/magento module:enable SR_UnicodeUrl
but I get a long error in response that starts with this phrase

Unknown package has no name defined

and it continues a long term (below image)
enter image description here

and it finished with this

enter image description here

how should I resolve this problem?
(my magento runs in docker image in Linux)

Best Answer

I think you need to install braintree module first and then also need to have a custom module installed SR_UnicodeUrl in your app/code folder where SR is vendor name and UnicodeUrl is module name, try to find the already built module from github then install that and then try to enable it.

Related Topic