If app-routing isn't in same dir as app.module, guess errors on it's lazily loaded routes.
Author: aaronfrostCreated Mar 4, 2020Updated Apr 16, 2022
If my project looks like this:
- app.module.ts
- routing
|- app-routing.module.tsAnd 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.
Source: guess-js/guess