firebase / firebase/geofire-js

Bug in the geoFire library

Open
#258 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.4k
Forks
339
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/firebase/geofire-js/files/10544556/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.