Here is a repo with the evidence. It's just an ng6 app created by CLI with one lazy loaded module, that doesn't compile. See readme for more info.
The log given by the failure
ng serve
ERROR in Could not resolve module app/lazyLoadedEvidence/lazyLoadedEvidence.module relative to /Users/Ricard/NG6Evidence/evidenceApp/src/app/app-routing.module.ts
Desired functionality
Typescript compiler should be able to resolve the absolute path described by Angular Router loadChildren property.
Mention any other details that might be useful
This was mentioned on some CLI issues
But analyzing the issue we can see its related to the scaffold typescript configuration, therefore it is related to schematics.
Bug Report or Feature Request (mark with an
x
)Area
Versions
Repro steps
Here is a repo with the evidence. It's just an ng6 app created by CLI with one lazy loaded module, that doesn't compile. See readme for more info.
The log given by the failure
Desired functionality
Typescript compiler should be able to resolve the absolute path described by Angular Router loadChildren property.
Mention any other details that might be useful
This was mentioned on some CLI issues But analyzing the issue we can see its related to the scaffold typescript configuration, therefore it is related to schematics.
I guess the issue was introduced by this commit