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 had the same problem and managed to solve it by adding my lazy loaded modules to my angular CLI config file (angular.json). See my answer here: Angular 5 lazy loading Error: Cannot find module