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
Please see this comment on the 1.7.x bug. The issue seems to be importing the lazy loaded module into the AppModule. Removing that import fixed the issue for me: https://github.com/angular/angular-cli/issues/9488#issuecomment-374037802
There is an open bug on angular-cli 1.7.x: https://github.com/angular/angular-cli/issues/9488#issuecomment-368871510
Downgrade to 1.6.8 solve the issue for me.
In your app.module.ts, did you import ListModule ?
I faced same issue, and was able to fix it by removing lazy loaded modules from imports in app.module.ts