-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If app-routing isn't in same dir as app.module, guess errors on it's lazily loaded routes. #345
Comments
It'll be helpful if you can provide a tiny repro so I can play around with it over the weekend. |
This is a good point. Let me see if I can get something together for you. |
Hi, I created a demo app that reproduces this problem. |
Thank you @suke, I'll make some time for this issue in the next a couple of days. |
I can confirm I'm also seeing an issue with path resolution. lmk if you need additional details, but it sounds like the same issue.
|
I encountered the problem too, and explored it a little further, for example in the case of nested lazy modules. Please check the description of this issue: scullyio/scully#1347 |
If my project looks like this:
And in the
app-routing
I have routes that are lazily loaded, when I do the traverseForRoutes stuff... it errors on the lazily loaded modules in the app-routing. If I move the file back to the same dir as the app.module... the error goes away.The text was updated successfully, but these errors were encountered: