title: TS1146: Declaration expected .. why?
body: <p>I'm with a small problem.</p>
  
  <p>I probably because I'm tired, sorry, I could not found the solution. 
  Somebody can help me?</p>
  
  <p>I have this file: <strong>src/app/app.module.ts</strong></p>
  
  <pre><code>import { BrowserModule } from '@angular/platform-browser';
  import { NgModule } from '@angular/core';
  import { NgClass } from '@angular/common';
  import { AppComponent } from './app.component';
  import { ServerComponent } from './server/server.component';
  @NgModule({
      declarations: [
          AppComponent,
          ServerComponent
      ],
      imports: [
          BrowserModule
      ],
      providers: [],
      bootstrap: [AppComponent]
  })
  export class AppModule { }
  </code></pre>
  
  <p>Than inside of this component I create a new component, as sample of course. </p>
  
  <p><strong>src/app/server/server.component.ts</strong></p>
  
  <pre><code>import { Component } from '@angular/core';
  @Component({
   selector: 'app-server',
   templateUrl: ''
  });
  export class ServerComponent {
  };
  </code></pre>
  
  <p><strong>src/app/server/serve.component.html</strong></p>
  
  <pre><code>&lt;p&gt;
   Start simple
  &lt;/p&gt;
  </code></pre>
  
  <p>Super simple, right? I agree.
  But when I try to run, I get this error:</p>
  
  <blockquote>
    <p>70% building modules 3/3 modules 0 active ERROR in
    src/app/server/server.component.ts(6,3): error TS1146: Declaration
    expected.</p>
  </blockquote>
  
  <p>The system can not find the file <strong>(server.component.ts)</strong>, but I did put the path correctly here (<strong>src/app/app.module.ts</strong>), I did declaration, I did <strong>import { Component } from '@angular/core';</strong>
  , so .. what is missing? I cant understand.</p>
  
  <p>Thanks all.</p>