title: Could not find an NgModule. Use the skip-import option to skip importing in NgModule
body: <p>I get the error in the subject of this post when I use the CLI to create a new component: <code>ng g c my-component --project=my-project</code>  (No component is created)</p>
  <p>I've seen other posts with the same error message, but none of them also include Nrwl/Nx, which I believe is somehow involved.  Project started as Ng4 and was upgraded to Ng6.</p>
  <p><strong>Environment:</strong></p>
  <ul>
  <li>Angular CLI: 6.0.8</li>
  <li>Node: 8.9.4</li>
  <li>OS: win32 x64</li>
  <li>Angular: 6.0.6</li>
  <li>@angular-devkit/architect         0.6.8</li>
  <li>@angular-devkit/build-angular     0.6.8</li>
  <li>@angular-devkit/build-optimizer   0.6.8</li>
  <li>@angular-devkit/core              0.6.8</li>
  <li>@angular-devkit/schematics        0.6.8</li>
  <li>@angular/cdk                      6.3.1</li>
  <li>@angular/cli                      6.0.8</li>
  <li>@angular/material                 6.3.1</li>
  <li>@ngtools/webpack                  6.0.8</li>
  <li>@schematics/angular               0.6.1</li>
  <li>@schematics/update                0.6.8</li>
  <li>rxjs                              6.2.1</li>
  <li>typescript                        2.7.2</li>
  <li>webpack                           4.8.3</li>
  <li>nrwl/nx 6.1.0</li>
  </ul>
  <p><strong>UPDATE #1</strong></p>
  <p>I tried dropping the <code>--project</code> flag entirely ( so just <code>ng g c my-component</code>) and still get the same problem.  Not sure what that means, yet.</p>