If my project looks like this:
- app.module.ts
- routing
|- app-routing.module.ts
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.