firebase-tools: Firebase Emulators download failed, expected 64907894 bytes but got 64723779
[REQUIRED] Environment info
firebase-tools: 11.29.0
Platform: macOS, Ubuntu
[REQUIRED] Test case
None
[REQUIRED] Steps to reproduce
In a project with Firebase Emulators set up,
- npm uninstall firebase-tools 1 optional) npm uninstall -g firebase-tools
- npm install firebase-tools
- firebase emulators:start
[REQUIRED] Expected behavior
Firebase Emulators downloads and boots up as normally.
[REQUIRED] Actual behavior
Firebase Emulators appears to download to 100%, but emulators are aborted with the error
Error: download failed, expected 64907894 bytes but got 64723779
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 31
- Comments: 17 (5 by maintainers)
Apologies everyone there seems to be an incorrect size and hash in the latest firebase-tools release. We’ll release a new version ASAP but for now reverting to 11.28 should resolve the issue.
11.29.1 fixes the issue without needing to purge the cache - thanks everyone.
There was no problem using v11.28.0
Yep… same issue. CLI reports the following:
Ran into the same issue with v11.29.0
For now, have reverted back to using my previous version (v11.24.1) which is working again 👍
Sorry folks, we found the original version of the firestore binary and re-uploaded it to our backend. Version
11.29.0
should work once you remove the cached jar from your machine, usually found here -~/.cache/firebase/emulators/cloud-firestore-emulator-v1.17.2.jar
. After that, runningfirebase emulators:start
should download the correct one.Thanks for all of your patience
You need to specify the exact version when installing, in your package.json, or when using firebase-tools
e.g
or if running in a script with npx
I have the same problem, here is the debug log
i have no idea why it’s happening.
I had to install firebase-tools@11.24.1 to make it firestore and ui work.
same problem 😦
Mac OS : Ventura 13.3.1 M1 Node : v18.16.0 Firebase CLI : 11.29.0
I have the same issue. Using node v18.16.0