Comandos ng

já fiz vários procedimentos e nada

ng g c entities/darf/DarfPesquisar 

Your global Angular CLI version (10.0.8) is greater than your local
version (9.0.4). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
An unhandled exception occurred: Invalid format version detected - Expected:[ 1 ] Found: [ 2 ]
See "C:\Users\guilh\AppData\Local\Temp\ng-YVctmv\angular-errors.log" for further details.

Vc tentou remover do projeto?

npm uninstall @angular/cli
1 curtida

Digitei estes comandos, mas depois voltei atras, pois não adiantou

npm un -g @angular/cli   
npm cache clean --force        
npm i -g @angular/cli

Versão

antes

1 curtida