-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GoogleAuthProvider not exported anymore in v18 #3536
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
Same issue with $ ng serve
Application bundle generation failed.
✘ [ERROR] No matching export in "node_modules/@angular/fire/fesm2022/angular-fire-firestore.mjs" for import "Timestamp"
│ import { Timestamp } from '@angular/fire/firestore';
✘ [ERROR] No matching export in "node_modules/@angular/fire/fesm2022/angular-fire-app-check.mjs" for import "ReCaptchaV3Provider"
│ import { ReCaptchaV3Provider, initializeAppCheck, provideAppCheck } from '@angular/fire/app-check';
✘ [ERROR] No matching export in "node_modules/@angular/fire/fesm2022/angular-fire-auth.mjs" for import "EmailAuthProvider"
✘ [ERROR] No matching export in "node_modules/@angular/fire/fesm2022/angular-fire-auth.mjs" for import "FacebookAuthProvider"
✘ [ERROR] No matching export in "node_modules/@angular/fire/fesm2022/angular-fire-auth.mjs" for import "GoogleAuthProvider"
✘ [ERROR] No matching export in "node_modules/@angular/fire/fesm2022/angular-fire-auth.mjs" for import "PhoneAuthProvider"
│ import { EmailAuthProvider, FacebookAuthProvider, GoogleAuthProvider, PhoneAuthProvider } from '@angular/fire/auth'; |
Same for Geopoint :
|
I have got same error when upgrade to angular 18, AngularFire 18.0.0 |
Hmmm that odd, I'll explore what might have happened with these exports. Presumably Typescript 5.4 is fighting our build pipeline |
It appears to be a bug with the RC version of ng-packagr mangling fesm2022 so |
|
Thank you so much for the quick fix and the quick release. |
@jnizet NP, thank you for reporting! We'll get our current test suite gap closed, so we're actually using the canary bundle in an integration test with a sample app, so we can catch build problems like this before they hit prod. |
I have still a problem with appcheck on web
This gets me everytime the "document is not defined error", and i can't find any fix, that is working. |
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
in a source file, and run
ng build
.The build fails with
ng serve
works fine. And the import was fine with angularFire 17.x.The text was updated successfully, but these errors were encountered: