Closed
Description
angular-cli: 1.0.0-beta.16
node: 6.0.0
os: linux x64
reproduction repo can be found here
The log given by the failure.
main.cfeed71….bundle.js:547 EXCEPTION: Uncaught (in promise): Error: Cannot find module
'app/lazy/lazy.module.ngfactory'.
It seems that aot
option can not build project that lazily loads modules. I would hope that one could use the patterns in the official documentation -- which I believe I'm doing -- and use the -- aot
option to compile your app easily. I would appreciate any clarification as to whether this is an issue with the CLI
or with the compiler. Thanks.