title: ERROR in ./src/app/app.module.ts Module not found
body: <p>I'm working on angular-cli. I got following errors.</p>
  
  <pre><code>ERROR in ./src/app/app.module.ts
  Module not found: Error: Can't resolve '@angular/router/src/router_module' in 
  'E:\xampp\Angular-cli\Login\src\app'
  @ ./src/app/app.module.ts 13:0-69
  @ ./src/main.ts
  @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
  </code></pre>
  
  <p>I've this library <strong>@angular/router/src/router_module</strong> in my <strong>node_module.</strong> What is missing?</p>
  
  <p>Here are required files.</p>
  
  <p><strong>app.module.ts</strong></p>
  
  <pre><code>import { BrowserModule } from '@angular/platform-browser';
  import { NgModule } from '@angular/core';
  import { AppComponent } from './app.component';
  import { AdminAccount } from './admin/admin.component';
  import { LoginForm } from './login/login.component';
  import { FileData } from './filedata/filedata.component';
  import { ROUTER_PROVIDERS } from "@angular/router/src/router_module";
  import { RouterModule, Routes, ROUTES } from "@angular/router";
  import { Http, Response } from "@angular/http";
  import { Route } from './router/router.component';
  
  @NgModule(
  {
  imports: [RouterModule ,Route, BrowserModule, Http, Response, AdminAccount, LoginForm, FileData, Route],
  declarations: [AppComponent],
  providers: [ROUTER_PROVIDERS],
  bootstrap: [AppComponent]
  })
  export class AppModule { }
  </code></pre>
  
  <p><strong>router.component.ts</strong></p>
  
  <pre><code>import { Component, OnInit } from '@angular/core';
  import { RouterModule } from "@angular/router";
  import { LoginForm } from "../login/login.component";
  import { AdminAccount } from "../admin/admin.component";
  
   export const Route = RouterModule.forRoot(
  [
  { path: '/', component: LoginForm },
  { path: '/admin', component: AdminAccount }
  ]);
  </code></pre>
  
  <p><strong>app.component.ts</strong></p>
  
  <pre><code>import { Component } from "@angular/core";
  import { LoginForm } from "./login/login.component";
  import { AdminAccount } from "./admin/admin.component";
  import { Routes, RouterModule } from "@angular/router";
  import { FileData } from "./filedata/filedata.component";
  
  @Component(
  {
  selector: "root",
  templateUrl: "./app.component.html",
  })
  export class AppComponent {}
  </code></pre>
  
  <p>If need more file let me know.</p>