The problem is when I run my app, it works fine. But when I refresh it, most of the time I get below msg.
The selector \"my-app\" did not match any e
I got same issue when I use Angular Universal. But it is because I am using BrowserModule in main.node.ts, the solution is
BrowserModule
imports: [ UniversalModule, BrowserModule // <- delete this will solve the issue ],
And check here for more info: https://github.com/angular/universal/issues/542