firebase-tools: 7.0.0
Platform: macOS 10.14.6
Node.js 10.15.3
https://github.com/aputinski/firebase-tools-test-case
Accessing Firestore emulator from the Functions emulator should not crash.
Function crashes with the following error message:
Error: Getting metadata from plugin failed with error: this.channel.credentials._getCallCredentials is not a function
This issue does not seem to follow the issue template. Make sure you provide all the required information.
@aputinski thanks for filing the issue with a detailed test case! Let me see if I can figure out what's going on.
From what I noticed, this happens in [email protected] but not [email protected] and the error comes from the @grpc/grpc-js module.
@ryanmtaylor thanks that makes sense actually. We have code to try and detect your dependencies and stub out some grpc code, I guess we got it wrong for grpc-js.
This turned out to be a simple fix, thanks for making it so clear!
Thanks for the quick fix! Any idea when this fix will be published?
@aputinski it's merged and will be part of the next patch release. No promises on timeline but we seem to do one of those almost every week.
Most helpful comment
@aputinski it's merged and will be part of the next patch release. No promises on timeline but we seem to do one of those almost every week.