Hello,
I am using a Statamic project (from the statamic/statamic repo). When deleting the vendor/ and composer.lock and trying to do a composer install, I get following error:

I am using Composer version 1.10.19 and also tested with Composer 2. I am on Homestead and macOS.