How to fix Uncaught (in promise): Error: Angular JIT compilation failed: '@angular/compiler' not loaded!

This error can occur in Angular and is actually misleading. The - probable - actual error is:

Unexpected closing tag "div". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags

Solution

Look for an unclosed <div> tag in your component and fix it :-)