Skip to content

GoogleAuthProvider not exported anymore in v18 #3536

Closed
@jnizet

Description

@jnizet

Version info

Angular:

18.0.0

Firebase:

10.12.0

AngularFire:

18.0.0

Other (e.g. Ionic/Cordova, Node, browser, operating system):

Node v20.12.2
macOS

How to reproduce these conditions

?

Failing test unit, Stackblitz demonstrating the problem

Steps to set up and reproduce

Have an

import { GoogleAuthProvider } from '@angular/fire/auth';

in a source file, and run ng build.

The build fails with

✘ [ERROR] No matching export in "node_modules/@angular/fire/fesm2022/angular-fire-auth.mjs" for import "GoogleAuthProvider"

    src/app/main/authentication.service.ts:4:9:
      4 │ import { GoogleAuthProvider, signInWithEmailAndPassword, signInWith...
        ╵          ~~~~~~~~~~~~~~~~~~

ng serve works fine. And the import was fine with angularFire 17.x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions