I recently upgraded my application to Angular 14 and encountered a challenging error. Despite configuring RouterModule for Root and child with lazy loading, I am now facing a circular dependency issue related to the Router. I'm unsure how to further debug this problem to find a solution. Your guidance will be greatly appreciated. Thank you!
app err NullInjectorError: NullInjectorError: No provider for UrlHandlingStrategy!
at NullInjector.get (core.mjs:)
at R3Injector.get (core.mjs:)
at R3Injector.get (core.mjs:)
at R3Injector.get (core.mjs:)
at injectInjectorOnly (core.mjs:)
at ɵɵinject (core.mjs:)
at inject (core.mjs:)
at Object.setupRouter [as useFactory] (router.mjs:)
at Object.factory (core.mjs:)
at R3Injector.hydrate (core.mjs:)