Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up`ng add` installs old package versions in 10.0.0-rc.5 #17983
Comments
|
This is because This doesn't happen when using a version tag |
|
Thanks, we'll update the version range to include 10. Is this a new behavior in v10? Seems convenient, once you know how it works :) |
|
@tsvetomir, no it’s not new, it’s been around for a couple of majors now. Agreed that an info message would be good in this case. |
|
@alan-agius4 I just experienced the same issue with version 10+, but I wasn't able to reproduce in lower versions (tried |
Command
Is this a regression?
Yes, the previous version in which this bug was not present was v9.1.9
Description
ng addinstalls old versions instead oflatest. Managed to reproduce it with both@kendo-angular-buttons(installs v0.10.1) and@angular/material(installs v7.3.7).npm install -g @angular/cli@nextng new ng10-project --defaults --skip-gitcd ng10-projectng add @progress/kendo-angular-buttonsThe problem does not occur if we specify a version to be installed, e.g.
ng add @progress/kendo-angular-buttons@latest