Error resolution in composer 2 install or update

Linux Version: CentOS 7.9,PHP 7.2
Error: You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
Cause Version conflict
Run Command composer self-update --1 Rollback to v1

Read More: