Skip to content

firebase-admin's farmhash-modern requirement - Node Version Issue #2753

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

Closed
sanhardik opened this issue Nov 3, 2024 · 2 comments
Closed

firebase-admin's farmhash-modern requirement - Node Version Issue #2753

sanhardik opened this issue Nov 3, 2024 · 2 comments

Comments

@sanhardik
Copy link

Operating System: Ubuntu
Code running in Docker
Firebase Admin version: 12.7.0
Node.js version - 16

I had filed a similar issue firebase/firebase-js-sdk#8583

Recent version of [email protected] has a requirement of Node 18 and above.
However, our code runs on Node 16 and this change has broken existing code.

In the other issues, the resolution was to revert or fix the dependency.
Can we fix the farmhash-modern dependency to 1.0.0 that allows Node 16

Error:
```error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18.0.0". Got "16.20.2"````

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@lahirumaramba
Copy link
Member

Hi @sanhardik looks like farmhash-modern broke the semantic versioning. Our planned next release would be a major version bump and we also plan to drop support for Node 14 and 16 (which are now deprecated). To fix this issue, please use module resolutions in your package.json until you are ready to upgrade to Node 18. We are also looking into replacing farmhash with an alternative implementation to solve other incompatibilities around that library.

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

3 participants