How to fix Error: Schematic "feature" not found in collection "@schematics/angular"

angular ngrx

Hello! If you are from Ukraine, Belarus, Poland or India and looking for a job in Software Development, please reach me out by email.

I ran ng generate feature FeatureName and got this error:

Error: Schematic "feature" not found in collection "@schematics/angular".

To resolve this issue I had to add @ngrx/schematics again to the Angular project. I ran the following in the project folder:

ng add @ngrx/schematics

I was asked about “using @ngrx/schematics as a default collection” and provided a positive answer:


After this ng generate feature FeatureName was started to work:


comments powered by Disqus