The following error was thrown when upgrading firebase from 7.8.2 to 7.9.0 during jest tests with firebase emulator:
console.error node_modules/@firebase/firestore/node_modules/@firebase/logger/dist/index.cjs.js:94
[2020-02-20T23:09:42.930Z] @firebase/firestore: Firestore (7.8.1): FIRESTORE (7.8.1) INTERNAL ASSERTION FAILED: AsyncQueue is already failed: TypeError: __PRIVATE_protoLoader.HP is not a function
at __PRIVATE_loadProtos (/home/runner/work/iwfp/iwfp/iwfpapi/functions/node_modules/@firebase/firestore/src/platform_node/load_protos.ts:48:29)
at t.platform [as SE] (/home/runner/work/iwfp/iwfp/iwfpapi/functions/node_modules/@firebase/firestore/src/platform_node/node_platform.ts:47:20)
at t._this [as bE] (/home/runner/work/iwfp/iwfp/iwfpapi/functions/node_modules/@firebase/firestore/src/core/firestore_client.ts:397:17)
at /home/runner/work/iwfp/iwfp/iwfpapi/functions/node_modules/@firebase/firestore/src/core/firestore_client.ts:185:31
at process._tickCallback (internal/process/next_tick.js:68:7)
TypeError: __PRIVATE_protoLoader.HP is not a function
at __PRIVATE_loadProtos (node_modules/@firebase/firestore/src/platform_node/load_protos.ts:48:29)
at t.platform [as SE] (node_modules/@firebase/firestore/src/platform_node/node_platform.ts:47:20)
at t._this [as bE] (node_modules/@firebase/firestore/src/core/firestore_client.ts:397:17)
at node_modules/@firebase/firestore/src/core/firestore_client.ts:185:31
here is a link to the GitHub Actions result page: https://github.com/tianhaoz95/iwfp/pull/330/checks?check_run_id=459036204
cd iwfpapi/functionsnpm install && npm run e2enpm install firebase --upgradenpm run e2eI couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
@tianhaoz95 We will get this fixed shortly. For now, can you stay on 7.8.2?
I have the same issue
@alexvandervegt so it seems to be a indirect dependency version mismatch. It should be an easy fix for the firebase team. I am guessing skipping 7.9.0 is not a big deal.
We are in the process of staging a new release that should fix this issue.
Awesome, thanks!
7.9.1 is published.
Great! verified that upgrading to 7.9.1 works! Thanks for fixing the issue!
Yes me2
Most helpful comment
7.9.1 is published.