After deploy Cloud Functions error: Could not refresh access token.

前端 未结 2 1911
南笙
南笙 2021-02-08 06:22

I\'ve been experimenting for a while with Firebase Cloud Functions, today I made a minor change to my index.json file (added a field to a document to be set), after deploying on

相关标签:
2条回答
  • 2021-02-08 06:59

    Thanks everyone for the reports, both here and especially also via our tech support channels - these really help.

    We believe the issue to have been caused by a problem deep in our Node.js dependency chain, in particular for users of Firestore. We've just released https://www.npmjs.com/package/google-gax 0.14.5 to address the issue. Please:

    • Either wait for the npm caches to pick up the new version, or explicitly request google-gax 0.14.5 in your package.json.
    • Re-deploy your functions.

    That should resolve things. If you're still having trouble, please let us know!

    0 讨论(0)
  • 2021-02-08 07:23

    Our current suspicion is that a very nested dependency had a breaking change that didn't follow semver. We're investigating and hope to have a fix soon. When this fix rolls out, you'll only have to redeploy.

    0 讨论(0)
提交回复
热议问题