HACS install error logs

Hi,
I install HACS following this [[TUTORIEL] HACS : installation dans Home Assistant – Les Alexiens]
once installed, i got the HACS menu in the side bar, however after HA restart, when access to integration, i got msgbox “need to updated to the least version”, which i did.

I’ve got Errors in Logs once updated finished and also the HACS menu has disappear from the side bar.

Logger: homeassistant.loader
Source: custom_components/operational/setup.py:11
Integration: operational
First occurred: 18 août 2021, 19:57:05 (1 occurrences)
Last logged: 18 août 2021, 19:57:05

Error loading custom_components.panel_custom. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 607, in _load_file
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/config/custom_components/__init__.py", line 11, in <module>
    from .operational.setup import async_setup as hacs_yaml_setup
  File "/config/custom_components/operational/setup.py", line 11, in <module>
    from custom_components.hacs.const import (
ImportError: cannot import name 'HACS_GITHUB_API_HEADERS' from 'custom_components.hacs.const' (/config/custom_components/hacs/const.py)

and a second error :

Logger: homeassistant.setup
Source: setup.py:173
First occurred: 18 août 2021, 19:57:08 (1 occurrences)
Last logged: 18 août 2021, 19:57:08

Setup failed for hacs: Integration not found.

i have understood that a API is missing !
Thanks for your feedbacks

You are following an outdated HACS installation method. I suggest you retrace your steps backward and deleting all the files that you recently added (related to HACS installation)

Next, follow the official guide from HACS-

Hi Ardysusilo,
Thanks, i will remove and install again