title: How can i solve "Error: \src\main.ts is missing from the TypeScript compilation."
body: <p>I tried all the possible solution on StackOverFlow and i have also uninstalled node and angular both. 3 Times in 3 days.
  I have no idea why it happens.
  This happens on &quot;ng-serve&quot;</p>
  <pre><code>
  C:\...\my-app&gt;ng serve
  Your global Angular CLI version (10.2.0) is greater than your local
  version (10.1.4). The local Angular CLI version is used.
  
  To disable this warning use &quot;ng config -g cli.warnings.versionMismatch false&quot;.
  
  chunk {main} main.js, main.js.map (main) 2.78 kB [initial] [rendered]
  chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 1.61 kB [initial] [rendered]
  chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
  chunk {styles} styles.js, styles.js.map (styles) 1.56 kB [initial] [rendered]
  chunk {vendor} vendor.js, vendor.js.map (vendor) 342 kB [initial] [rendered]
  Date: 2020-10-29T15:32:18.382Z - Hash: 73a81c6903f44c830485 - Time: 5411ms
  
  ERROR in C:\...\my-app/src/main.ts
  Module build failed (from C:\...\my-app/node_modules/@ngtools/webpack/src/index.js):
  Error: C:\...\my-app\src\main.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
      at AngularCompilerPlugin.getCompiledFile (C:\...\my-app\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:949:23)
      at C:\...\my-app\node_modules\@ngtools\webpack\src\loader.js:43:31
      at processTicksAndRejections (internal/process/task_queues.js:93:5)
  
  ERROR in C:\...\my-app/src/polyfills.ts
  Module build failed (from C:\...\my-app/node_modules/@ngtools/webpack/src/index.js):
  Error: C:\...\my-app\src\polyfills.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
      at AngularCompilerPlugin.getCompiledFile (C:\...\my-app\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:949:23)
      at C:\...\my-app\node_modules\@ngtools\webpack\src\loader.js:43:31
      at processTicksAndRejections (internal/process/task_queues.js:93:5)
  ** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
  </code></pre>
  <p>Any ideas?
  Thank you</p>