-
Notifications
You must be signed in to change notification settings - Fork 415
Closed
Labels
Description
Environment
- Operating System version: Mac OS Ventura (13.x) on Intel
- Firebase SDK version: firebase-admin v12.1.0)
- Firebase Product: firebase-admin for node
- Node.js version: 20.5.1
- NPM version: 9.8.0
Problem
Steps to reproduce:
Starting work on a colleague's project, I run npm install. We've pinned firebase-admin to ^12.0.0; this installs 12.1.0. This works correctly.
When I build my SvelteKit project - which will eventually use ESBuild - I get the same errors as reported in this StackOverflow post - "can't resolve build/Debug/farmhash.node".
When I pin firebase-admin to 12.0.0 (specific version): no such error. So the StackOverflow post, filed a day or two ago, seems to be related to something in the 12.1.0 changes.
Beyond this, I'm a bit lost, but managed to find evidence of someone else with the same issue, and now have a workaround - pinning to an old verison. There seem to have been other farmhash issues that Doug Stevneson has mentioned.
Reactions are currently unavailable