本文介绍了我可以在本地运行Firebase Storage云功能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

来自 Firebase DOCS :

Firebase CLI包括一个Cloud Functions仿真器,它可以仿真以下功能类型:

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

  • HTTPS函数
  • 可调用函数
  • Cloud Firestore功能

在部署到生产环境之前,您可以在本地运行功能以对其进行测试.

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

问题

是否可以在本地运行Firebase Storage的云功能(例如,由文件上传触发),还是需要实际部署它们以进行测试?

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?

推荐答案

firebaser此处

您找到的文档是最新的.当前无法在Firebase模拟器套件中运行由Cloud Storage触发的Cloud Functions.

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.

可能值得提出功能请求或跟踪Firebase工具存储库上的打开的功能请求.

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

这篇关于我可以在本地运行Firebase Storage云功能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 11:58