I have tried every possible solution I could find on the internet.
From increasing the MEMLIMIT in the php.ini to 2G to removing the required tags in composer.json and so on.
This is a Vanilla install of CE 2.3.4 for the life of me I can not figure out what could be causing this.
I was actually trying to install the connector for Magento Store Manager and I figured it was an issue with the module but it does it with any extension.