We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Angular: 12.0.3
Firebase: 9.0.0-beta.2
AngularFire: 7.0.0-canary.fadc178
Other (e.g. Ionic/Cordova, Node, browser, operating system):
Node: 14.17.0
Failing test unit, Stackblitz demonstrating the problem
Steps to set up and reproduce use exp angular/fire and import AngularFireModule from @angular/fire/compat and try to build using ng build
AngularFireModule
@angular/fire/compat
ng build
Sample data and security rules
** Errors in the JavaScript console **
Error: node_modules/@firebase/app-compat/dist/src/firebaseApp.d.ts:19:10 - error TS2305: Module '"@firebase/app"' has no exported member '_FirebaseAppInternal'. 19 import { _FirebaseAppInternal as _FirebaseAppExp } from "@firebase/app"; ~~~~~~~~~~~~~~~~~~~~ Error: node_modules/@firebase/firestore-compat/dist/esm2017/firestore/compat/index.d.ts:52:287 - error TS2459: Module '"@firebase/firestore"' declares 'EmulatorMockTokenOptions' locally, but it is not exported. 52 import { DocumentReference, CollectionReference, DocumentData, Query, PersistenceSettings, DocumentSnapshot, QuerySnapshot, FirebaseFirestore, Settings, LoadBundleTask, FirestoreError, Unsubscribe, SnapshotListenOptions, QueryConstraint, Transaction, SetOptions, UpdateData, FieldPath, EmulatorMockTokenOptions, WriteBatch } from "@firebase/firestore"; ~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@firebase/firestore/dist/exp/index.d.ts:8:10 8 import { EmulatorMockTokenOptions } from '@firebase/util'; ~~~~~~~~~~~~~~~~~~~~~~~~ 'EmulatorMockTokenOptions' is declared here.
** Output from firebase.database().enableLogging(true); **
firebase.database().enableLogging(true);
** Screenshots **
Should be able to build successfully without errors
Getting above build errors
The text was updated successfully, but these errors were encountered:
Thanks for testing. This is an issue with the with the Firebase JS SDK, please file over there. In the meantime you can skipLibCheck in your tsconfig.
skipLibCheck
Sorry, something went wrong.
@ubaidazad Did you file over at the JS SDK?
Hi,
I just created an Angular 12.2 project with "@angular/fire": "^7.0.0-alpha.3", and I have the same issue.
Error: node_modules/@firebase/app-compat/dist/src/firebaseApp.d.ts:19:10 - error TS2305: Module '"@firebase/app"' has no exported member '_FirebaseAppInternal'. 19 import { _FirebaseAppInternal as _FirebaseAppExp } from "@firebase/app";
by the moment I added the skipLibCheck and compilled.
No branches or pull requests
Version info
Angular: 12.0.3
Firebase: 9.0.0-beta.2
AngularFire: 7.0.0-canary.fadc178
Other (e.g. Ionic/Cordova, Node, browser, operating system):
Node: 14.17.0
How to reproduce these conditions
Failing test unit, Stackblitz demonstrating the problem
Steps to set up and reproduce
use exp angular/fire and import
AngularFireModule
from@angular/fire/compat
and try to build usingng build
Sample data and security rules
Debug output
** Errors in the JavaScript console **
** Output from
firebase.database().enableLogging(true);
**** Screenshots **
Expected behavior
Should be able to build successfully without errors
Actual behavior
Getting above build errors
The text was updated successfully, but these errors were encountered: