I was reading few questions and I came across your question here. I had also faced the similar issue recently. I can give you some solutions for your issue just check if they can fix your error as below.
You can try to add the
import 'reflect-metadata'; to your server.ts file as it will help you in server rendering. After adding that small line of code my errors got fixed.
You can also try add the div tag. Similar to the directive the component HTML tag should be enclosed in the div tag as shown below
When you will enclose your .HTML tag in div as shown above then your errors will be fixed.