-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); 

感謝您的答覆無論哪種方式,下面的代碼索引文件。

相關問題