I don't if you have resolved this issue, but maybe someone will look at this after.
I had Composer version 2.3 and didn't work out with any solution i had found, so i downgraded Composer to version 2.0 and everything worked as usual.
I found this that may be helpful:
"Composer 2.2 comes with a...