I am using Angular Cli to create component.
I am using this command:
ng g c DeviceComponent --module=./views/administration/Accounting.module.ts --spec=false --flat
I got the warning :
Option "entryComponent" is deprecated: Since version 9.0.0 with Ivy, entryComponents is no longer necessary.
and The component does not created My Angular version is:
Angular CLI: 10.2.0
Node: 12.18.3
OS: win32 x64
Angular: 10.2.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1000.8
@angular-devkit/build-angular 0.1000.8
@angular-devkit/core 10.0.8
@angular-devkit/schematics 10.2.0
@angular/cdk 10.2.5
@schematics/angular 10.2.0
@schematics/update 0.1002.0
rxjs 6.6.3
typescript 3.9.7
I have read this post but it does not help me Nativescript error 'Cannot read property 'kind' of undefined' when run 'ng generate component'
I have done
npm install --save-dev typescript@4
but it is the same error
Anyone could help me please?