-
Notifications
You must be signed in to change notification settings - Fork 376
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
ESBuild failures related to farmhash on firebase-admin v12.1.0 #2542
Comments
I found a few problems with this issue:
|
Could be related to this: lovell/farmhash#48 Edit, sorry, probably not, since you're on Intel. |
Update: |
@infovore can you talk a little bit more about what you did? I reverted to 12.0.0, but I'm hoping this doesn't prevent me from upgrading indefinitely |
@balloman of course - I added Vite - in |
Did anyone made it work with @nx/esbuild ? Adding |
I'm also facing this with Next.js and had to downgrade to 12.0.0 in order to build as well. |
Environment
Problem
Steps to reproduce:
Starting work on a colleague's project, I run
npm install
. We've pinnedfirebase-admin
to^12.0.0
; this installs12.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
to12.0.0
(specific version): no such error. So the StackOverflow post, filed a day or two ago, seems to be related to something in the12.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.The text was updated successfully, but these errors were encountered: