title: Error 404 angular2-in-memory-web-api
body: <p>I would like to use <code>angular2-in-memory-web-api</code> but I get these errors :</p>
  
  <pre><code>GET http://localhost:3000/node_modules/angular2-in-memory-web-api/index.js.map 404 (Not Found)
  GET http://localhost:3000/node_modules/angular2-in-memory-web-api/in-memory-backend.service.js.map 404 (Not Found)
  GET http://localhost:3000/node_modules/angular2-in-memory-web-api/http-status-codes.js.map 404 (Not Found)
  </code></pre>
  
  <p>In the angular2-in-memory-web-api folder I have these files with extension .js and .d.ts but not .js.map</p>
  
  <p>I read this <a href="https://stackoverflow.com/questions/37377529/angular2-tutorial-tour-of-heroes-cannot-find-module-angular2-in-memory-web-a">Angular2 Tutorial (Tour of Heroes): Cannot find module &#39;angular2-in-memory-web-api&#39;</a> and test every solutions but it still doesn't work for me.</p>
  
  <p>Here my code:</p>
  
  <p>boot.ts :</p>
  
  <pre><code>// Imports for loading &amp; configuring the in-memory web api
   import { provide }    from '@angular/core';
   import { XHRBackend } from '@angular/http';
   import 'rxjs/Rx';
   import 'rxjs/add/operator/map';
  
   import { InMemoryBackendService, SEED_DATA } from '../node_modules/angular2-in-memory-web-api';
   import { FavoriDataBase}               from './favori/favori-database';
  
   import { bootstrap }      from '@angular/platform-browser-dynamic';
   import { HTTP_PROVIDERS } from '@angular/http';
   import { AppComponent }   from './app.component';
  
   bootstrap(AppComponent, [
  HTTP_PROVIDERS, 
  provide(XHRBackend, { useClass: InMemoryBackendService }),
  provide(SEED_DATA,  { useClass: FavoriDataBase })]);
  </code></pre>
  
  <p>In systemjs.config.js I have this line <code>'angular2-in-memory-web-api': { main: 'index.js', defaultExtension: 'js' }</code>
  And in package.json <code>"angular2-in-memory-web-api": "0.0.10"</code>
  I also updated <code>angular2-in-memory-web-api</code> in my console.</p>
  
  <p>Everything worked find before I decide to use <code>'angular2-in-memory-web-api'</code>, I was using real http url to catch data and now I need to use "in folder url" to catch data of a created database (initially empty).</p>
  
  <p>My database class:</p>
  
  <pre><code>export class FavoriDataBase {
  createDb() {
  let database= [];
  return {database};
   }
  }
  </code></pre>
  
  <p>Thanks by advance for any help !</p>