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
Fix a name of an internal _onRequestWithOptions property #1482
Conversation
CI is green, so I guess issues with tests are just on my local machine. |
@thechenky for a review |
@merlinnot I was able to reproduce the bug on master and then make it go away by applying this PR. |
@merlinnot the problem with this is now the opposite. If you're using So we either need to: And in the long term we need to stop relying on internal APIs at all, but let's get a quick fix in first. I will send you a PR that does option |
Handle either 3.0.0 or 3.1.0
Sure, let's do that. |
Thank you @merlinnot! |
I was able to fix the issue by downgrading to firebase-functions@3.0.2 , otherwise while using firebase-functions@3.1.0 I still have the following issue -> TypeError: _onRequestWithOpts is not a function |
if I have the same issue, is downgrading to 3.0.2 the only thing I need to do to receive these changes? because i'm still getting the same error despite the downgrade. |
@isabelleyzhou I think I found our problem. The version of firebase-tools installed by Google is outdated on global envy. Try to run |
Description
Resolves #1480
Apparently this repository relies on a private method defined in
firebase-functions
, which was renamed as part of firebase/firebase-functions#495. This PR updates the name of the method.Scenarios Tested
Unfortunately I was not able to run tests locally by simply doing
npm install && npm run test
, even on the master branch. I'll keep trying, but I thought that this PR might be simple enough to create it already, withoutSample Commands
Not relevant.