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

Call fails with latest version of firebase-admin installed #19

Open
orbitcm-marcusrogers opened this issue May 1, 2024 · 0 comments
Open

Comments

@orbitcm-marcusrogers
Copy link

I've been using functions-differ successfully for a few weeks. Yesterday I updated some other packages to their latest versions. One of the packages (firebase-admin) has started using farmhash as a dependency - farmhash v3.3.1 to be specific. Once [email protected] is in my project, functions-differ throws this error:

PromisePoolError: Build failed with 2 errors: ../../node_modules/farmhash/index.js:5:19: ERROR: No loader is configured for ".node" files: ../../node_modules/farmhash/build/Release/farmhash.node

There doesn't seem to be a dependency tree for functions-differ that includes farmhash (though it appears to come in through @supercharge/proise-pool), so I'm unable to use npm overrides to force an older version of farmhash. There is an issue on farmhash that seems to have a solution that could possibly be implemented in functions-differ to solve this. Any ideas on a solution?

The current workaround is to use an older version of firebase-admin. This will work for now as there's nothing in the new version I need, but is not a long term solution.

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

No branches or pull requests

1 participant