What is wrong here? I\'m trying to make it work but I get that error in the header. I have included the
in the app
This is similar to the answer suggesting re-running ng serve
, but that wasn't relevant for my situation as I have the app permanently running in IIS. In my case, I had built with ng build --watch
, but stopping that and re-running it fixed the problem. I assume something was built incorrectly when it was an incremental build, but doing the full build fixed the problem.