Skip to content

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

@orbitcm-marcusrogers

Description

@orbitcm-marcusrogers

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions