I\'m using angular cli AoT compilation. When I try to make a lazy load component following this tutorial, I got the error below:
ERROR Error
I got the same issue. I solve it Just stopping the cli server and start it. Error is gone if you done your code correctly.