Closed bkarv closed 5 years ago
Also current workaround for the above is to re-install ionic schematics despite it being deprecated.
npm install @ionic/schematics-angular@latest
When you use @ionic/angular-toolkit
as a dependency, you also need to update angular.json
by replacing all occurrences of @ionic/ng-toolkit
and @ionic/schematics-angular
by @ionic/angular-toolkit
.
Starting from apps created with v4.0.0-beta.13, nothing to do.
Schematics and all things related to angular tooling are now part of @ionic/angular-toolkit
as @abennouna has said, please update to @ionic/angular-toolkit
and update any references in your angular.json
Thanks @abennouna I think that resolved the issue. Note these instructions weren't in the dependancies notes for 4.0.0-beta.16 changelog
Bug Report
Ionic Info Run
ionic info
from a terminal/cmd prompt and paste the output below.Describe the Bug After upgrading and following the dependancies as stated in 4.0.0-beta.16 (2018-11-16) changelog as below, ionic g component no longer works. I get the following error:
Error: Could not find module "@ionic/schematics-angular" from ....
From Changelog fo Ionic beta 16
Steps to Reproduce Steps to reproduce the behavior:
Related Code My package.json
Expected Behavior ionic g component XXX should work as normal.