Angularfire: AngularfireAuth not working

Created on 10 May 2018  路  2Comments  路  Source: angular/angularfire

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"'.

Version info

Angular:5.2.0

Firebase:^5.0.1

AngularFire:^5.0.0-rc.7
Login.component.ts
capture
app.module.ts
capture2

Most helpful comment

Please use Firebase 4.x right now, we're working on compatibility but there were a number of breaking changes.

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

avanderbergh picture avanderbergh  路  3Comments

sharomet picture sharomet  路  3Comments

DennisSmolek picture DennisSmolek  路  3Comments

Leanvitale picture Leanvitale  路  3Comments

martinyoussef picture martinyoussef  路  3Comments