You can fix this issue using after remove root plugin from composer.json file and then run composer update command
For more detail you can refer this link for steps.
https://itcruncher.blogspot.com/2020/11/composer-error-in-magento-2-4-1.html