Zend certified PHP/Magento developer

enabling module error in vendor after installing with composer by CLI

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)