Closed
Description
🐞 Bug report
Command
- add
Is this a regression?
Yes, the previous version in which this bug was not present was v9.1.9
Description
ng add
installs old versions instead of latest
. Managed to reproduce it with both @kendo-angular-buttons
(installs v0.10.1) and @angular/material
(installs v7.3.7).
🔬 Minimal Reproduction
npm install -g @angular/cli@next
ng new ng10-project --defaults --skip-git
cd ng10-project
ng add @progress/kendo-angular-buttons
The problem does not occur if we specify a version to be installed, e.g.
ng add @progress/kendo-angular-buttons@latest
🔥 Exception or Error
The package that you are trying to add does not support schematics. You can try using a different version of the package or contact the package author to add ng-add support.
🌍 Your Environment
Angular CLI: 10.0.0-rc.5
Node: 10.14.0
OS: linux x64
Angular: 10.0.0-rc.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.1000.0-rc.5
@angular-devkit/build-angular 0.1000.0-rc.5
@angular-devkit/build-optimizer 0.1000.0-rc.5
@angular-devkit/build-webpack 0.1000.0-rc.5
@angular-devkit/core 10.0.0-rc.5
@angular-devkit/schematics 10.0.0-rc.5
@angular/cli 10.0.0-rc.5
@angular/platform-server 2.0.0
@ngtools/webpack 10.0.0-rc.5
@schematics/angular 10.0.0-rc.5
@schematics/update 0.1000.0-rc.5
rxjs 6.5.5
typescript 3.9.5
webpack 4.43.0