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

前端 未结 2 1912
南笙
南笙 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!

提交回复
热议问题