title: VSCode cannot find module '@angular/core' or any other modules
body: <p>My project was generated with Angular CLI version 1.2.6.</p>
  <p>I can compile the project and it works fine, but I always get error in VSCode telling me:</p>
  <blockquote>
  <pre><code>cannot  find module '@angular/core'
  cannot find module '@angular/router'
  cannot find module .....
  </code></pre>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/SPelZ.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/SPelZ.jpg" alt="screenshot" /></a>
  <a href="https://i.stack.imgur.com/UhOkE.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/UhOkE.jpg" alt="screenshot" /></a></p>
  <p>I have attached  content of my <code>tsconfig.json</code> file
  this has been  really frustrating for me, spending 2 hours to figure out what is wrong,
  I have also uninstalled and reinstalled the VSCode
  it doesn't work.</p>
  <p>Here is my environment specification:</p>
  <pre><code>@angular/cli: 1.2.6
  node: 6.9.1
  os: win32 x64
  @angular/animations: 4.3.4
  @angular/common: 4.3.4
  @angular/compiler: 4.3.4
  @angular/core: 4.3.4
  @angular/forms: 4.3.4
  @angular/http: 4.3.4
  @angular/platform-browser: 4.3.4
  @angular/platform-browser-dynamic: 4.3.4
  @angular/router: 4.3.4
  @angular/cli: 1.2.6
  @angular/compiler-cli: 4.3.4
  @angular/language-service: 4.3.4
  </code></pre>
  <p>OS: Microsoft vs 10 enterprise</p>
  <p>project root folder</p>
  <pre><code>.angular-cli.json
  .editorconfig
  .gitignore
  .vscode
  e2e
  karma.conf.js
  node_modules
  package.json
  protractor.conf.js
  README.md
  src
  tsconfig.json
  tslint.json
  </code></pre>
  <p><code>node_modules</code> folder</p>
  <pre><code>-@angular
  --animations
  --cli
  --common
  --compiler
  --compiler-cli
  --core
  ---@angular
  ---bundles
  ---core.d.ts
  ---core.metadata.json
  ---package.json
  ---public_api.d.ts
  ---README.md
  ---src
  ---testing
  ---testing.d.ts
  ---testing.metadata.json
  --forms
  --http
  --language-service
  --platform-browser
  --platform-browser-dynamic
  --router
  --tsc-wrapped
  @ng-bootstrap
  @ngtools
  -@types
  --jasmine
  --jasminewd2
  --node
  --q
  --selenium-webdriver
  </code></pre>
  <p><code>tsconfig.json</code>:</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;es2016&quot;,
        &quot;dom&quot;
      ]
    }
  }
  </code></pre>