I work with Angular 7.1.4. I want to generate a new module with the following line;
ng g m order-process
But I encountered an error:
<
This answer is not related to the initial question, but since this is the first hit in google for the error message, I'll leave some information here for everybody seeing this error when upgrading Apollo (apollo-angular
) from 1.x to 2.x with ng update apollo-angular
.
Check if you have installed @angular-devkit/schematics
and if it is the same version as your @angular/cli
package.
If not install with @angular-devkit/schematics@
. Then commit the changes, make sure you don't commit the changed Apollo version from the failed run and try again.