Olá, tentei executar o comando para criar o resolver de lista-animais, e ocorreu o erro abaixo. Alguém pode me ajudar? Obrigado desde já.
$ ng g resolver animais/lista-animais/lista-animais
Your global Angular CLI version (14.0.1) is greater than your local version (10.1.7). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
An unhandled exception occurred: Schematic "resolver" not found in collection "@schematics/angular".
See "/tmp/ng-Uj919n/angular-errors.log" for further details.
Versão do Angular que estou usando:
$ ng --version
Your global Angular CLI version (14.0.1) is greater than your local version (10.1.7). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Angular CLI: 10.1.7
Node: 14.19.3
OS: linux x64
Angular: 10.1.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1001.7
@angular-devkit/build-angular 0.1001.7
@angular-devkit/core 10.1.7
@angular-devkit/schematics 10.1.7
@angular/cli 10.1.7
@schematics/angular 10.1.7
@schematics/update 0.1001.7
rxjs 6.6.7
typescript 4.0.8