title: Nativescript error 'Cannot read property 'kind' of undefined' when run 'ng generate component'
body: <p>I cannot add a new component to my Nativescript project, when I execute <code>ng generate component faqs</code> it returns the error:</p>
  <pre><code>Option &quot;entryComponent&quot; is deprecated: Since version 9.0.0 with Ivy, entryComponents is no longer necessary.
  Cannot read property 'kind' of undefined
  </code></pre>
  <p>or if I run it like <code>ng generate component</code> it asks me the components name</p>
  <pre><code>? What name would you like to use for the component? faqs
  </code></pre>
  <p>and returns</p>
  <pre><code>Option &quot;entryComponent&quot; is deprecated: Since version 9.0.0 with Ivy, entryComponents is no longer necessary.
  Cannot read property 'match' of undefined
  </code></pre>
  <p>I am using:</p>
  <pre><code>Nativescript 7.0.10
  
  Angular CLI: 10.1.4
  Node: 12.18.4
  OS: win32 x64
  
  Angular: 10.1.4
  ... animations, cli, common, compiler, compiler-cli, core, forms
  ... platform-browser, platform-browser-dynamic, router
  Ivy Workspace: Yes
  
  Package                      Version
  ------------------------------------------------------
  @angular-devkit/architect    0.1001.4
  @angular-devkit/core         10.0.8
  @angular-devkit/schematics   10.1.4
  @ngtools/webpack             10.1.4
  @schematics/angular          10.1.4
  @schematics/update           0.1001.4
  rxjs                         6.6.3
  typescript                   3.9.7
  </code></pre>
  <p>And I just run:</p>
  <pre><code>tns create HelloWorld
  npm i --save-dev @angular/cli
  npm install --save-dev @nativescript/schematics
  npm install --save-dev @schematics/angular
  </code></pre>