/angularfire2/index has no exported member 'AngularFire'
Since you are using [email protected]+, there is no AngularFire
exported any more. Instead, you shall use it as below:
// import AngularFireAuthModule at NgModule
import { AngularFireAuthModule } from 'angularfire2/auth';
import { AngularFireAuth } from 'angularfire2/auth';
// inject
construstor(afa: AngularFireAuth) {
afa.auth.signInWithPopup()
}
Upgrading to AngularFire2 4.0 solve my issue
Migration Guide: https://github.com/angular/angularfire2/blob/master/docs/version-4-upgrade.md