Problem with installing a module
You can use Drupal console commands to delete the existings configs. New install will only be possible when the existing configs are deleted.
use Drupal config:delete active profile.type.main

If you dont have drupal console installed then deleting the configs from db is other work around for this issue.

Go to the config db table and delete the configs which are existing.

Thank you