title: Error: Cannot find module '@angular-devkit/schematics' and Cannot find module '@angular-devkit/schematics'
body: <p>When I try to generate angular material data-table, I am getting below error. Please guide me to resolve this error.</p>
  
  <p>ng command used for generate the data-table:</p>
  
  <pre><code>ng g @angular/material:material-table --name=data-table
  </code></pre>
  
  <p>after executing above ng command I am getting below error in my terminal</p>
  
  <p>Cannot find module '@angular-devkit/schematics'</p>
  
  <pre><code>Error: Cannot find module '@angular-devkit/schematics'
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
      at Function.Module._load (internal/modules/cjs/loader.js:529:25)
      at Module.require (internal/modules/cjs/loader.js:658:17)
      at require (internal/modules/cjs/helpers.js:22:18)
      at Object.&lt;anonymous&gt; (C:\Users\Lenovo\my-wks\meanStackDemo\node_modules\@angular\material\schematics\ng-generate\table\index.js:10:22)
  </code></pre>
  
  <p>Please share your suggestion or guidance to resolve this. Thanks .</p>
  
  <p>Happy Holidays!:-)</p>