I am getting the following error while using the firebase auth in my app-
ERROR in src/app/login/login.component.ts(15,51): error TS2339: Property 'auth' does not exist on type 'typeof "C:/webProject/node_modules/firebase/app/index"'.
Angular:5.2.0
Firebase:^5.0.1
AngularFire:^5.0.0-rc.7
Login.component.ts
app.module.ts
Same here!! After running ng serve I get the error "ERROR in No NgModule metadata found for 'AppModule'."
If I edit one of my .ts files and save I then get "ERROR in src/app/core/auth.service.ts(65,35): error TS2339: Property 'auth' does not exist on type 'typeof "C:/project/node_modules/firebase/app/index"
Please use Firebase 4.x right now, we're working on compatibility but there were a number of breaking changes.
Most helpful comment
Please use Firebase 4.x right now, we're working on compatibility but there were a number of breaking changes.