title: angularfire2 cant find module 'firebase/app'
body: <p>app.component :</p>
  
  <pre><code>import { AngularFireModule } from '@angular/fire';
  import { AngularFirestoreModule } from 'angularfire2/firestore';
  import { RoomComponent } from './component/room/room.component';
  import { AngularFireAuth } from '@angular/fire/auth';
  import { FirebaseService } from "./service/firebase.service";
  import { AngularFireAuthModule } from 'angularfire2/auth';
  
  
  imports: [
    BrowserModule,
    AngularFireModule.initializeApp(firebaseconfig),
    AngularFirestoreModule
  ],
  providers: [
    FirebaseService,
    {
      provide: PERFECT_SCROLLBAR_CONFIG,
      useValue: DEFAULT_PERFECT_SCROLLBAR_CONFIG
    },
    AngularFireAuth
  ],
  </code></pre>
  
  <p>package.json file :</p>
  
  <pre><code>{
  "dependencies": {
  "@angular/animations": "^5.2.11",
  "@angular/cdk": "^5.2.4",
  "@angular/common": "^5.2.0",
  "@angular/compiler": "^5.2.0",
  "@angular/core": "^5.2.0",
  "@angular/forms": "^5.2.0",
  "@angular/http": "^5.2.0",
  "@angular/material": "^5.2.4",
  "@angular/platform-browser": "^5.2.0",
  "@angular/platform-browser-dynamic": "^5.2.0",
  "@angular/router": "^5.2.0",
  "angularfire2": "^5.0.1",
  "core-js": "^2.4.1",
  "dateformat": "^3.0.3",
  "firebase": "^5.5.1",
  "rxjs": "^6.3.2",
  "rxjs-compat": "^6.3.2",
    "zone.js": "^0.8.19"
    },
  "devDependencies": {
  "@angular/cli": "~1.7.4",
  "@angular/compiler-cli": "^5.2.0",
  "@angular/language-service": "^5.2.0",
  "ts-node": "~4.1.0",
  "tslint": "~5.9.1",
  "typescript": "~2.5.3"
  }
  }
  </code></pre>
  
  <p>The imports that doesnt work located in a service:</p>
  
  <pre><code>import { AngularFirestore, AngularFirestoreCollection, 
     AngularFirestoreDocument } from 'angularfire2/firestore';
  import { AngularFireAuth } from '@angular/fire/auth';
  import { auth } from 'firebase/app'
  import { Observable } from 'rxjs';
  </code></pre>
  
  <p>I only included the dependencies that may have something to do with the error but if i missed something please tell me. </p>
  
  <p>I've already tried multiple versions. This does work but it has an error. The problem lies within the import { auth } which allows me to login to firebase. I dont know what the problem is. Sometimes it compiles, sometimes it doesn't. This is the only version combination I used so far that compile sometimes even with error. Other versions just breaks other imports.</p>
  
  <p>The project only compiles if i remove the auth import momentarily and then put it back in then save it.</p>