Skip to content
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

Firebase 6.x.x incompatibility and firebase vs firebase-admin clash. #186

Open
ReverseControl opened this issue Sep 11, 2019 · 6 comments
Open

Comments

@ReverseControl
Copy link

Feature request: can we please get a geofire version compatible with firebase 6.x.x?

Version info

UNMET PEER DEPENDENCY [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]

npm ERR! peer dep missing: firebase@^2.4.0 || 3.x.x || 4.x.x || 5.x.x, required by [email protected]

Expected behavior

Compatible geofire library with the latest firebase.

Actual behavior

The requirement restriction makes it impossible to use "firebase" and 'firebase-admin" together as it shows the known issue where google cloud complains that a "database" has already been registered when these two packages are imported in the same file.

@ziyaddin
Copy link

ping

@prideaux
Copy link

@ziyaddin can are you having the exactly the same issue as @ReverseControl or something different?

I ask as the OP was asking a year ago.

I'm using:

`firebase": "^7.23.0`
`geofire": "^5.0.1`

I am using React/React Native, I've had some issues myself but making some progress, replying in case I can offer some suggestions but would need more info.

@ziyaddin
Copy link

@prideaux thanks for reply. Mine is almost the same. I just get warning instead of error.

image

@mschuetz72
Copy link

Is there any workaround for this issue?

I was able to develop and test without any issues locally, but I'm not able to deploy 😢

@ziyaddin
Copy link

ziyaddin commented Nov 14, 2020

@mschuetz72 what is the error you are facing with during deployment?

@mschuetz72
Copy link

Hey @ziyaddin. Please disregard my comment about the failing deployment. The message was Deployment error. Function failed on loading usercode. and after going back to the last working commit and applying change by change it turned out that geofire wasn't referenced as dependency in the package file 🤷‍♂️ All working now, sorry for the confusion...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants