You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Circular dependency in DI detected for ChangeDetectionScheduler in 19.0.4 #59255
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
19.0.3
Description
I use provideAnimationsAsync(), and with the the latest 19.0.4, the app breaks with Circular dependency in DI detected error... If I switch to using provideAnimations() it works fine...
Reproduction
Run/debug project with angular 19.0.5, angular-cli 19.0.6 and cdk/material 19.0.4, while using provideAnimationsAsync()
Expected Behavior
Works as in 19.0.3
Actual Behavior
Errors with:
at throwCyclicDependencyError (core.mjs:969:9)
at R3Injector.hydrate (core.mjs:2277:9)
at R3Injector.get (core.mjs:2160:23)
at injectInjectorOnly (core.mjs:1100:36)
at ɵɵinject (core.mjs:1106:40)
at inject (core.mjs:1191:10)
at <instance_members_initializer> (async.mjs:19:15)
at new _AsyncAnimationRendererFactory (async.mjs:30:3)
at Object.useFactory (async.mjs:285:14)
at Object.factory (core.mjs:2377:32)
Activity
atsjo commentedon Dec 20, 2024
assuming the cause is angular/components#30163
fix(platform-browser): avoid circular DI error in async renderer
fix(platform-browser): avoid circular DI error in async renderer
fix(platform-browser): avoid circular DI error in async renderer (ang…
fix(platform-browser): avoid circular DI error in async renderer (#59271
angular-automatic-lock-bot commentedon Jan 20, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
fix(platform-browser): avoid circular DI error in async renderer (ang…