//my mistake was i was calling the GoogleAuthProvider
// this is incorrect
this.auth.signInWithPopup(new firebase.GoogleAuthProvider());
//do not user ()
=================================================
import * as firebase from 'firebase/auth'
constructor(private auth:AngularFireAuth) { }
@HostListener('click')
onclick(){
this.auth.signInWithPopup(new firebase.GoogleAuthProvider); //correct
}