Possibility to reinstal module without deleting old configuration for module permissions by term
Module configuration files are stored in the module's config/install directory. When you enable the module, Drupal tries to install those configurations. If Drupal complains that the configurations already exist, then you can take the following steps:

Identify which configuration files Drupal is complaining about.

Move those configuration files out the module's config/install directory. It doesn't really matter where you move them to, but you're going to want to restore the files after everything is fixed so I suggest just moving them up one level into the config directory.

Try to install the module. Drupal won't find the module's default configuration files that you moved so it shouldn't complain any more.

If Drupal still complains, that means you missed a configuration, so repeat the above steps.

Restore the original configuration files - move them back into config/install.


Note that this is a workaround - not a solution. The module should be examined to ensure it properly removes its own configuration (if appropriate) when uninstalled, and that it declares the proper dependencies in its configuration, and that configurations which are not removed are defined as optional. Please file a bug report in the issue queue for that module so that this can be fixed for other users.