-
Notifications
You must be signed in to change notification settings - Fork 12k
ng update wants to update @angular/material in project that does not have it installed #29627
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
Comments
…package groups Previously, the package group name defaulted to the first item in the list. This update prioritizes an installed package as the fallback instead. Closes angular#29627
…package groups Previously, the package group name defaulted to the first item in the list. This update prioritizes an installed package as the fallback instead. Closes angular#29627
There are two issues here:
|
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. |
Command
update
Is this a regression?
The previous version in which this bug was not present was
19.1.6
Description
Running
ng update
offers update to@angular/material
even though it is not installed to the project. The project has@angular/cdk
and@angular/cdk-experimental
installed.I think it should have
@angular/cdk
instead of material here.For some reason,
@angular/cdk-experimental
is never listed in this list, even though you always need to update it same time as@angular/cdk
.Minimal Reproduction
ng update
Exception or Error
Your Environment
Anything else relevant?
I'm not sure if this should have been reported here or in the components repository.
The text was updated successfully, but these errors were encountered: