Cannot enable module "director". Module is not installed

I was trying to install Icinga Director, via git clone but i cannot enable the module it said

Found invalid module in enabledModule directory "/etc/icingaweb2/enabledModules": "/etc/icingaweb2/enabledModules/director" is not a symlink
ERROR: Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Application/Modules/Manager.php:248 with message: Cannot enable module "director". Module is not installed.

icingacli module list
Found invalid module in enabledModule directory "/etc/icingaweb2/enabledModules": "/etc/icingaweb2/enabledModules/director" is not a symlink
MODULE         VERSION   STATE     DESCRIPTION
monitoring     2.7.3     enabled   Icinga monitoring module
setup          2.7.3     enabled   Setup module

It’s not possible to enable the module because this problem. how to i fix it?

  • Director version (System - About):
  • Icinga Web 2 version and modules (System - About):
Icinga Web 2 Version
    2.7.3
  • Icinga 2 version (icinga2 --version):
icinga2 - The Icinga 2 network monitoring daemon (version: r2.11.2-1)

Copyright (c) 2012-2021 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
  • Operating System, version :
System information:
  Platform: Linux Mint
  Platform version: 20 (Ulyana)
  Kernel: Linux
  Kernel version: 5.4.0-74-generic
  Architecture: x86_64
  • PHP versions:
PHP Version
    7.2.34-22+ubuntu20.04.1+deb.sury.org+1

I forgot to instal it dependencied. I solved it