"@embroider/compat": "^3.9.1",
"@embroider/core": "^3.5.7",
"@embroider/macros": "^1.18.1",
"@embroider/router": "^3.0.3",
"@embroider/webpack": "^4.1.1",
Visiting a lazy-loaded route throws addModules is only supported when your Resolver has been configured to use static modules via Resolver.withModules().
To repro, run this app and visit the index route. The most recent commit shows all the changes from the blueprint.
In my embroider/webpack Ember app, I'm trying to upgrade to @embroider/router@3 to get fully on @ember/test-waiters@4 to address the ember barrel file import deprecation, but it does not work with lazy loading. When the lazy-loaded route loads, EmbroiderRouter.registerBundle() calls resolver.addModules(), which throws addModules is only supported when your Resolver has been configured to use static modules via Resolver.withModules().