-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(COMPATIBILITY): Material 19.1.0 not compatible with Angular 19.0.x #30388
Labels
Comments
Same here. |
Same here. Any updates? |
facing the same problem |
same issue |
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jan 28, 2025
…than 19.1 Fixes that we were importing a symbol only available in Angular 19.1, even though our peer dependencies allow 19.0.x. Fixes angular#30388.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jan 28, 2025
…than 19.1 (angular#30401) Fixes that we were importing a symbol only available in Angular 19.1, even though our peer dependencies allow 19.0.x. Fixes angular#30388.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Material 19.1.0 has @angular/core 19.0 marked as a peer dependency, but if you use Angular 19.0.x with Angular 19.1.x, it fails to compile:
ERROR TS2305: Module '"@angular/core"' has not exported member 'ListenerOptions'. node_modules/@angular/cdk/platform/index.d.ts:2:9: 2 | import { ListenerOptions } from '@angular/core';
@angular/core: 19.0.6
Material 19.1.0
Reproduction
https://stackblitz.com/edit/components-issue-starter-zubzowwp?file=package.json
Expected Behavior
Project should compile
Actual Behavior
Project fails to compile with error:
ERROR TS2305: Module '"@angular/core"' has not exported member 'ListenerOptions'. node_modules/@angular/cdk/platform/index.d.ts:2:9: 2 | import { ListenerOptions } from '@angular/core';
Environment
The text was updated successfully, but these errors were encountered: