my angular version:
Angular CLI: 10.0.1
Node: 12.13.1
OS: darwin x64
Angular: 10.0.2
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.1000.1
@angular-devkit/build-angular 0.1000.1
@angular-devkit/build-optimizer 0.1000.1
@angular-devkit/build-webpack 0.1000.1
@angular-devkit/core 10.0.1
@angular-devkit/schematics 10.0.1
@angular/cli 10.0.1
@ngtools/webpack 10.0.1
@schematics/angular 10.0.1
@schematics/update 0.1000.1
rxjs 6.5.5
typescript 3.9.6
webpack 4.43.0`
I have created new angular project,
ng new myapp --strict
cd myapp
ng add @ngrx/store
then I got this error :
Installing packages for tooling via npm.
Installed packages for tooling via npm.
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.
would you please support ?
Seems like it installs @ngrx/store version 1.2.1 for some reason 馃檮
Its an Angular CLI issue. You explicitly have to use @ngrx/store@latest. I opened an issue here about it awhile back https://github.com/angular/angular-cli/issues/17024
Thanks Brandon, this works for me, do you have any expectation when the Angular team they will fix this bug ?
ng add @ngrx/store@latest
That issue was closed as "WAI" 馃
@m00zi Ihey aren't. We probably need to update the docs to use the latest tag with ng add.
@m00zi do you want to update the docs to add the latest tag?
yes, it will be great
Fixed #2629
Most helpful comment
Its an Angular CLI issue. You explicitly have to use
@ngrx/store@latest. I opened an issue here about it awhile back https://github.com/angular/angular-cli/issues/17024