Can I run Firebase Storage cloud functions locally?

隐身守侯 提交于 2020-11-28 08:09:15

问题


From Firebase DOCS:

Run functions locally

The Firebase CLI includes a Cloud Functions emulator which can emulate the following function types:

  • HTTPS functions
  • Callable functions
  • Cloud Firestore functions

You can run functions locally to test them before deploying to production.

QUESTION

Is there a way to run cloud functions for Firebase Storage (ex: triggered by file upload) locally or do I need to actually deploy them for testing?


回答1:


firebaser here

The documentation you found is up to date. There is currently no way to run Cloud Storage triggered Cloud Functions in the Firebase emulator suite.

It might be worth filing a feature request or tracking the open feature requests on the Firebase tools repo.



来源:https://stackoverflow.com/questions/56803603/can-i-run-firebase-storage-cloud-functions-locally

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!