Skip to content

Bug in the geoFire library #258

@Coco0185

Description

@Coco0185

Hi ,

here is my configuration : with the "npm list" command :

+-- eslint-config-google@0.14.0
+-- eslint@8.31.0
+-- firebase-admin@10.3.0
+-- firebase-functions-test@0.2.3
+-- firebase-functions@3.24.1
+-- firebase@8.0.0
+-- geofire-common@6.0.0
+-- geofire@5.2.0
`-- stripe@11.7.0

I have this error on this js line :

await geoFireApp.set(context.params.pushId, [original.pickup.lat, original.pickup.lng])

the details :

let geoFireRef = admin.database().ref().child('customerRequest');
console.log("geoFireRef: " + geoFireRef);
let geoFireApp = new geofire.GeoFire(geoFireRef);
console.log("geoFireApp: " + geoFireApp);
await geoFireApp.set(context.params.pushId, [original.pickup.lat, original.pickup.lng])

you can find the logs attached
downloaded-logs-20230131-095956.csv

I ve found someone who had the same issue he recommend to downgrade firebase and geofire I've tried (actually the versions in this message are already downgraded) but it doesnt work.

Do you have any idea?

Thank you for your

Version info

Firebase:

GeoFire:

Other (e.g. Node, browser, operating system) (if applicable):

Test case

Steps to reproduce

Expected behavior

Actual behavior

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