-1

https://medium.com/@wcandillon/uploading-images-to-firebase-with-expo-a913c9f8e98d上传图像到Google云功能

我一直在关注如何利用世博会来上传图片到Google云的功能与谷歌存储这个​​伟大的职位,但我不断收到此错误:

TypeError: handler is not a function 
at cloudFunction (/user_code/node_modules/firebase-functions/lib/providers/https.js:26:41) 
at /var/tmp/worker/worker.js:671:7 
at /var/tmp/worker/worker.js:655:9 
at _combinedTickCallback (internal/process/next_tick.js:73:7) 
at process._tickDomainCallback (internal/process/next_tick.js:128:9) 

任何帮助表示赞赏。我没有开发快速应用程序的经验,但如果我很快就找不到答案,我可能需要。

+1

请显示您的代码重现问题。 –

回答

0

感谢您的回复。我发现了这个问题。我没有使用的代码module.exports它出口到所有我的谷歌云功能登录即

exports.api = functions.https.onRequest(api); 

感谢您的答复无论哪种方式,下面的代码索引文件。