title: Cannot run Angular 4 components on my laptop but works fine on online IDE
body: <p>I created a new project and added new component inside but once I run it it doesn't work at all. I mean it doesn't link with the app component file, but I've tried creating a component using stackblitz and it works perfectly!</p>
  
  <p>Here is my app structure</p>
  
  <p><img src="https://i.imgur.com/KVzwm9r.png" alt="structure"></p>
  
  <p>And this is all the codes you may need to look at</p>
  
  <h3>app.component.ts</h3>
  
  <pre><code>    import { Component } from '@angular/core';
  
      @Component({
      selector: 'app-root',
      templateUrl: './app.component.html',
      styleUrls: ['./app.component.css']
      })
      export class AppComponent {
       title = 'app';
       }
  </code></pre>
  
  <h3>app.module.ts</h3>
  
  <pre><code>import { BrowserModule } from '@angular/platform-browser';
  import { NgModule } from '@angular/core';
  
  import { AppComponent } from './app.component';
  import { FirstComponent } from './first/first.component';
  
  @NgModule({
  declarations: [
  AppComponent,
  FirstComponent
  ],
  imports: [
  BrowserModule
  ],
  providers: [],
  bootstrap: [AppComponent]
  })
  export class AppModule { }
  </code></pre>
  
  <h3>app.component.html</h3>
  
  <pre><code>&lt;h1&gt;Welcome.&lt;/h1&gt;
  &lt;hr&gt;
  &lt;app-first&gt;&lt;/app-first&gt;
  </code></pre>
  
  <p>Then my component name is <code>first.component</code></p>
  
  <h3>first.component.ts</h3>
  
  <pre><code>import { Component } from '@angular/core';
  
  @Component({
  selector: 'app-first',
  templateUrl: './first.component.html'
  })
  
  export class FirstComponent {
  }
  </code></pre>
  
  <h3>first.component.html</h3>
  
  <pre><code>&lt;h2&gt;Hi&lt;/h2&gt;
  &lt;p&gt;helllooooooooo&lt;/p&gt;
  </code></pre>
  
  <p>I did the same thing inside stackblitz and its working totally fine, when I run it on WebStorm on my laptop it doesn't work, only app component html works without linking the app first html.</p>
  
  <p>I'm running</p>
  
  <pre><code>Windows 10 win32 x64 
  Angular cli version 1.4.9
  node: 8.8.1
  npm 5.4.2
  </code></pre>
  
  <p>If I'm doing anything wrong advise me. If you need any more resources just ask for it.</p>