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.fix it by using
{path:'listes' ,loadChildren: ()=>ListModule} not {path:'listes' ,loadChildren: 'app/component/list/list.module#ListModule'}