-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Closed
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimearea: serverIssues related to server-side renderingIssues related to server-side renderingbugregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous version
Milestone
Description
Which @angular/* package(s) are the source of the bug?
platform-browser
Is this a regression?
Yes
Description
Since @angular/platform-browser@19.0.2, building or running an application/library that hasn't @angular/animations as a dependency results in the an error being thrown.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Build: Could not resolve "@angular/animations/browser"
Serve: Cannot find package '@angular/animations' imported from C:\Users\...\node_modules\@angular\platform-browser\fesm2022\animations.mjs
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 19.0.3
Node: 20.18.1
Package Manager: npm 10.9.0
OS: win32 x64
Angular: 19.0.2
... common, compiler, compiler-cli, core, platform-browser
... platform-browser-dynamic, platform-server, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1900.3
@angular-devkit/build-angular 19.0.3
@angular-devkit/core 19.0.3
@angular-devkit/schematics 19.0.3
@angular/cli 19.0.3
@angular/fire 19.0.0-rc.0
@angular/ssr 19.0.3
@schematics/angular 19.0.3
rxjs 7.8.1
typescript 5.6.3
zone.js 0.15.0
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimearea: serverIssues related to server-side renderingIssues related to server-side renderingbugregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous version