title: Module build failed: Error: index.ts is missing from the TypeScript compilation
body: <p>Description of the project: My project is downloading to node_module via package.json</p>
  
  <p>Package.json</p>
  
  <pre><code>....
     dependencies:{
         ....
         "@myllc/application-core": "git+ssh://git@bitbucket.org/myllc/application-core.git",
         "@myllc/application-shared":"git+ssh://git@bitbucket.org/myllc/application-shared.git",
  
     }
     ....
  </code></pre>
  
  <p>Gotting error when doing "npm build":</p>
  
  <blockquote>
    <p>ERROR in ./node_modules/@myllc/application-core/index.ts Module
    build failed: Error:
    /var/www/frontend-skeleton/node_modules/@myllc/application-core/index.ts is missing from the TypeScript compilation. Please make sure it is in
    your tsconfig via the 'files' or 'include' property. The missing file
    seems to be part of a third party library. TS files in published
    libraries are often a sign of a badly packaged library. Please open an
    issue in the library repository to alert its author and ask them to
    package the library using the Angular Package Form at
    (<code>https:// goo.gl/jB3GVv</code>).</p>
  </blockquote>
  
  <p>This appear after upgrade from Angular4 to Angular5: 
  Tsconfig:</p>
  
  <pre><code>{
    "compileOnSave": false,
    "compilerOptions": {
      "outDir": "./dist/out-tsc",
      "baseUrl": "src",
      "sourceMap": true,
      "declaration": false,
      "moduleResolution": "node",
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "target": "es5",
      "lib": [
        "es2016",
        "dom"
      ],
      "typeRoots": [
        "node_modules/@types"
      ]
  
    }
  
  }
  </code></pre>
  
  <p>I tried to add </p>
  
  <pre><code>"include": [
      "./node_modules/@myllc/**/*"
    ]
  </code></pre>
  
  <p>but there appear same error at deeper folder .ts file. Also founding 
  <a href="https://github.com/angular/angular-cli/issues/8284" rel="noreferrer">https://github.com/angular/angular-cli/issues/8284</a>
  but nothing solved this error.</p>
  
  <p>What is the solution?</p>