Craft CMS module composer dependancy
The easiest way around this is to include the required library in your main-project composer.json and let it handle it rather than your modules composer.json. 

The alternative is to require your module properly in your main composer file as you do with plugins and install it via path which kinda breaks the idea of it