title: Error: node_modules/@angular/platform-browser/platform-browser.d.ts:44:22 - error NG6002
body: <p>Opened up a brand new project, changed absolutly nothing, and when I serve the project I get the following error:</p>
  <pre><code>Error: node_modules/@angular/platform-browser/platform-browser.d.ts:44:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule 
  class.
  
  This likely means that the library (@angular/platform-browser) which declares BrowserModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
  
  44 export declare class BrowserModule {
  ---------------------------------------------------------------------------------------------------------
  </code></pre>
  <p>things that I have tried that don't work:</p>
  <ul>
  <li>re-installing npm</li>
  <li>rolling npm back to an earlier version</li>
  <li>opting out of ivy (enableivy=false and aot=false)</li>
  <li>serve --prod</li>
  <li>serve again and again</li>
  </ul>
  <p>Is there a doctor in the house?!</p>