You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen multiple people on gitter and on stackoverflow being confused by this, including me. When the router uses lazy loading with a module that is outside the src folder (in node_modules for instance) the build will fail giving the error: ERROR in ./src/$$_gendir async
Bug Report or Feature Request (mark with an
x
)Explanation
I've seen multiple people on gitter and on stackoverflow being confused by this, including me. When the router uses lazy loading with a module that is outside the src folder (in node_modules for instance) the build will fail giving the error:
ERROR in ./src/$$_gendir async
Related to this and this
Repro steps.
The error will appear in the console at the end. I cannot make a plnkr for this.
The log given by the failure.
notice it tries to find
node_modules
in thesrc
folder.Desired functionality.
It would be nice if
loadChildren
worked withngModules
that are outside thesrc
folder. Mainly thenode_modules
folderVersions.
@angular/cli: 1.1.2
node: 8.0.0
os: linux x64
The text was updated successfully, but these errors were encountered: