title: Can't create an Angular 5 project using angular-cli
body: <p>I'm trying to create a new Angular 5 project. I've installed @angular/cli version 1.6.3 and typed:</p>
  <pre><code>ng new project --routing
  </code></pre>
  <p>After everything has been installed I did:</p>
  <pre><code>cd project
  ng build
  </code></pre>
  <p>And got the following errors:</p>
  <blockquote>
  <p>Module build failed: Error: d:...\project\src\main.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.</p>
  <p>Module build failed: Error: d:...\project\src\polyfills.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.</p>
  </blockquote>
  <p>There are a couple of discussions about this on the <a href="https://github.com/angular/angular-cli/issues/8713" rel="nofollow noreferrer">Angular github page</a>, but other than saying this has been resolved, or pointing to an issue where there where <code>ts</code> files in <code>node_modules</code> - it was not helpful.</p>
  <p>We're using Windows 10 here.</p>
  <p>EDIT: the tsconfig files are (there are two):</p>
  <pre><code>{
    &quot;compileOnSave&quot;: false,
    &quot;compilerOptions&quot;: {
      &quot;outDir&quot;: &quot;./dist/out-tsc&quot;,
      &quot;sourceMap&quot;: true,
      &quot;declaration&quot;: false,
      &quot;moduleResolution&quot;: &quot;node&quot;,
      &quot;emitDecoratorMetadata&quot;: true,
      &quot;experimentalDecorators&quot;: true,
      &quot;target&quot;: &quot;es5&quot;,
      &quot;typeRoots&quot;: [
        &quot;node_modules/@types&quot;
      ],
      &quot;lib&quot;: [
        &quot;es2017&quot;,
        &quot;dom&quot;
      ]
    }
  }
  </code></pre>
  <p>The other (src/tsconfig.app.json):</p>
  <pre><code>{
    &quot;extends&quot;: &quot;../tsconfig.json&quot;,
    &quot;compilerOptions&quot;: {
      &quot;outDir&quot;: &quot;../out-tsc/app&quot;,
      &quot;baseUrl&quot;: &quot;./&quot;,
      &quot;module&quot;: &quot;es2015&quot;,
      &quot;types&quot;: []
    },
    &quot;exclude&quot;: [
      &quot;test.ts&quot;,
      &quot;**/*.spec.ts&quot;
    ]
  }
  </code></pre>
  <p>These were both created by <code>ng new</code>.</p>