Here is what I tried and it worked:
In HACS click on the “Front End”.
At the bottom should be a “+ EXPLORE & DOWNLOAD REPOSITORIES”
Then do a search for Lovelace Card Templater or Config Template Card.
If that doesn’t work, then hmmm…don’t know what may cause the problem