-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Open
Labels
area: docsRelated to the documentationRelated to the documentation
Milestone
Description
Command
update
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
I've upgraded to Angular 21, which added { applicationProviders: [provideZoneChangeDetection()] } in
platformBrowser()
.bootstrapModule(AppModule)
.catch((error: Error) => console.error(error))
However the description of provideZoneChangeDetection says This provider is not available for platformBrowser().bootstrapModule.
Minimal Reproduction
Just migrate a module-based app to Angular 21, I guess.
Exception or Error
Your Environment
| @angular/core │ 21.1.5 │ ^21.1.5 │
│ @angular/fire │ 20.0.1 │ ^20.0.1 │
│ @angular/forms │ 21.1.5 │ ^21.1.5 │
│ @angular/language-service │ 21.1.5 │ ^21.1.5 │
│ @angular/material │ 21.1.5 │ ^21.1.5 │
│ @angular/material-moment-adapter │ 21.1.5 │ ^21.1.5 │
│ @angular/platform-browser │ 21.1.5 │ ^21.1.5 │
│ @angular/platform-browser-dynamic │ 21.1.5 │ ^21.1.5 │
│ @angular/platform-server │ 21.1.5 │ ^21.1.5 │
│ @angular/router │ 21.1.5 │ ^21.1.5 │
│ @angular/service-worker │ 21.1.5 │ ^21.1.5 │
│ rxjs │ 7.8.2 │ 7.8.2 │
│ typescript │ 5.9.3 │ 5.9.3 │
│ webpack │ 5.105.2 │ 5.105.2 │
│ zone.js │ 0.16.1 │ ^0.16.1 │
Anything else relevant?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: docsRelated to the documentationRelated to the documentation