Closed breshman closed 4 years ago
any news on that?
@breshman @ItayElgazar I didn't face this issue, however you can try v1.1.1
this version updated dependencies version. Please let me know if it works or not.
That is the version I am trying to use and the one that ends with this issue, maybe it is because of using an updated version of firebase-admin. I would suggest a compatibility table.
The issue is because of outdated dependencies, however, the latest Firebase Admin SDK is missing export for one of the Remote Config classes, and updating firebase-admin
libraries won't work. I've submitted a fix for firebase-admin
here, so when that gets merged (and released) I'll submit a PR here for updating the dependencies and also suggesting a compatibility chart.
The issue has been fixed in v2.0.0
, that supports firebase-admin v9.xx
.
Nice! I saw you used the lib modules instead of the exposed one, might be a good idea to use a single one when they fix their mistake, though it might take a while. Anyways, thank you very much!
I just got noted that firebase admin 9.1.1 is out with the small fix on imports, if it's something worth making a patch release about. Kudos!
`[11:44:13] Starting compilation in watch mode...
node_modules/@google-cloud/firestore/types/firestore.d.ts:23:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: DocumentData, UpdateData, Firestore, GeoPoint, Transaction, WriteBatch, WriteResult, DocumentReference, DocumentSnapshot, QueryDocumentSnapshot, OrderByDirection, WhereFilterOp, Query, QuerySnapshot, DocumentChangeType, CollectionReference, FieldValue, FieldPath, Timestamp, v1beta1, v1, OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, DATA_LOSS, UNAUTHENTICATED, FirebaseFirestore
23 declare namespace FirebaseFirestore {
node_modules/firebase-admin/node_modules/@google-cloud/firestore/types/firestore.d.ts:25:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: DocumentData, UpdateData, Firestore, GeoPoint, Transaction, WriteBatch, WriteResult, DocumentReference, DocumentSnapshot, QueryDocumentSnapshot, OrderByDirection, WhereFilterOp, Query, QuerySnapshot, DocumentChangeType, CollectionReference, FieldValue, FieldPath, Timestamp, v1beta1, v1, OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, DATA_LOSS, UNAUTHENTICATED, FirebaseFirestore
25 declare namespace FirebaseFirestore {
node_modules/firebase-admin/node_modules/@google-cloud/firestore/types/firestore.d.ts:168:5 - error TS2374: Duplicate string index signature.
168 [key: string]: any; // Accept other properties, such as GRPC settings.