title: Schematic input does not validate against the Schema
body: <p>I'm having this error when I try to create a new component anywhere inside the project:</p>
  <pre><code>PS C:\Users\Name\Documents\Project\project-app\src\app\modals&gt; ng g c especificacaoTecnicaModal
  Schematic input does not validate against the Schema: {&quot;path&quot;:&quot;/src/app/modals&quot;,&quot;displayBlock&quot;:false,&quot;inlineStyle&quot;:false,&quot;inlineTemplate&quot;:false,&quot;changeDetection&quot;:&quot;Default&quot;,&quot;style&quot;:&quot;css&quot;,&quot;type&quot;:&quot;Component&quot;,&quot;skipTests&quot;:false,&quot;flat&quot;:false,&quot;skipImport&quot;:false,&quot;skipSelector&quot;:false,&quot;export&quot;:false}
  Errors:
  
    Data path &quot;&quot; should have required property 'name'.
  </code></pre>
  <p>Here is my <code>ng --version</code></p>
  <pre><code>Angular CLI: 6.1.4
  Node: 14.17.0
  OS: win32 x64
  Angular: 6.1.10
  ... common, compiler, compiler-cli, core, forms, http
  ... language-service, platform-browser, platform-browser-dynamic
  ... router
  
  Package                           Version
  -----------------------------------------------------------
  @angular-devkit/architect         0.7.5
  @angular-devkit/build-angular     0.7.5
  @angular-devkit/build-optimizer   0.7.5
  @angular-devkit/build-webpack     0.7.5
  @angular-devkit/core              0.7.5
  @angular-devkit/schematics        12.0.4
  @angular/animations               12.0.4
  @angular/cdk                      7.3.7
  @angular/material                 7.3.7
  @ngtools/webpack                  6.1.5
  @schematics/angular               12.0.4
  @schematics/update                &lt;error&gt;
  rxjs                              6.0.0
  typescript                        2.7.2
  webpack                           4.9.2
  </code></pre>
  <p>It started when I was installing angular material. If I try to run <code>ng serve</code> or <code>ng build --prod --base-href ./</code> it run normally. If you need more data just comment it and I'll answer.</p>