无法为Firebase部署云功能



我已经为Firebase使用云函数几年了。今天,我将firebase工具更新为最新版本,即9.10.0,从那以后,我无法为firebase部署任何云功能。以下是控制台输出:

i  deploying functions
i  functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i  functions: ensuring required API cloudbuild.googleapis.com is enabled...
✔  functions: required API cloudfunctions.googleapis.com is enabled
✔  functions: required API cloudbuild.googleapis.com is enabled
i  functions: preparing functions directory for uploading...
i  functions: packaged functions (96.9 KB) for uploading
i  scheduler: ensuring required API cloudscheduler.googleapis.com is enabled...
i  pubsub: ensuring required API pubsub.googleapis.com is enabled...
✔  scheduler: required API cloudscheduler.googleapis.com is enabled
✔  pubsub: required API pubsub.googleapis.com is enabled
✔  functions: functions folder uploaded successfully
i  functions: updating Node.js 10 function sendFeedbackEmail(us-central1)...
i  functions: scheduler job firebase-schedule-publishAwsWorkerQueueLength-us-central1 is up to date, no changes required
✔  functions[publishAwsWorkerQueueLength(us-central1)]: Successful upsert schedule operation.
i  functions: updating Node.js 10 function sendPushNotification(us-central1)...
i  functions: updating Node.js 10 function generateAuthenticationToken(us-central1)...
i  functions: updating Node.js 10 function isUserRunningMinimumVersion(us-central1)...
i  functions: updating Node.js 10 function sendVerificationCode(us-central1)...
i  functions: updating Node.js 10 function sendCodeOnCall(us-central1)...
i  functions: updating Node.js 10 function verifyCode(us-central1)...
i  functions: updating Node.js 10 function createUserWithoutMobileNumber(us-central1)...
i  functions: updating Node.js 10 function verifyCodeForExistingUser(us-central1)...
i  functions: updating Node.js 10 function addConnections(us-central1)...
i  functions: updating Node.js 10 function updateConnections(us-central1)...
i  functions: updating Node.js 10 function getWelcomeAlarms(us-central1)...
i  functions: updating Node.js 10 function getAdditionalSetupInstructions(us-central1)...
i  functions: updating Node.js 10 function getBlacklistedCountryCodesForCodeOnCall(us-central1)...
i  functions: updating Node.js 10 function restoreBlockedAlarms(us-central1)...
i  functions: updating Node.js 10 function blockExistingAlarms(us-central1)...
i  functions: updating Node.js 10 function addWelcomeAlarms(us-central1)...
i  functions: updating Node.js 10 function deleteAccount(us-central1)...
i  functions: updating Node.js 10 function findDeletedAlarms(us-central1)...
i  functions: updating Node.js 10 function getWhatsNewBetweenReleases(us-central1)...
i  functions: updating Node.js 10 function updateCreatorTimezoneForAlarms(us-central1)...
i  functions: updating Node.js 10 function addContact(us-central1)...
i  functions: updating Node.js 10 function deleteInvitedContact(us-central1)...
i  functions: updating Node.js 10 function deleteGalarmContact(us-central1)...
i  functions: updating Node.js 10 function getPreviousOccurrencesOfAlarmBetweenTime(us-central1)...
i  functions: updating Node.js 10 function editInvitedContactName(us-central1)...
i  functions: updating Node.js 10 function editGalarmContactName(us-central1)...
i  functions: updating Node.js 10 function verifyPurchases(us-central1)...
i  functions: updating Node.js 10 function cancelSubscription(us-central1)...
i  functions: updating Node.js 10 function appDownload(us-central1)...
i  functions: updating Node.js 10 function publishAwsWorkerQueueLength(us-central1)...
i  functions: updating Node.js 10 function generateAvatarThumbnail(us-central1)...
i  functions: updating Node.js 10 function processImage(us-central1)...
Functions deploy had errors with the following functions:
sendFeedbackEmail(us-central1)
editGalarmContactName(us-central1)
isUserRunningMinimumVersion(us-central1)
verifyPurchases(us-central1)
verifyCodeForExistingUser(us-central1)
blockExistingAlarms(us-central1)
getBlacklistedCountryCodesForCodeOnCall(us-central1)
deleteAccount(us-central1)
generateAuthenticationToken(us-central1)
publishAwsWorkerQueueLength(us-central1)
createUserWithoutMobileNumber(us-central1)
getWhatsNewBetweenReleases(us-central1)
processImage(us-central1)
addConnections(us-central1)
getPreviousOccurrencesOfAlarmBetweenTime(us-central1)
generateAvatarThumbnail(us-central1)
getAdditionalSetupInstructions(us-central1)
addContact(us-central1)
cancelSubscription(us-central1)
updateConnections(us-central1)
sendCodeOnCall(us-central1)
appDownload(us-central1)
deleteInvitedContact(us-central1)
getWelcomeAlarms(us-central1)
verifyCode(us-central1)
sendPushNotification(us-central1)
findDeletedAlarms(us-central1)
editInvitedContactName(us-central1)
addWelcomeAlarms(us-central1)
deleteGalarmContact(us-central1)
sendVerificationCode(us-central1)
updateCreatorTimezoneForAlarms(us-central1)
restoreBlockedAlarms(us-central1)
To try redeploying those functions, run:
firebase deploy --only "functions:sendFeedbackEmail,functions:editGalarmContactName,functions:isUserRunningMinimumVersion,functions:verifyPurchases,functions:verifyCodeForExistingUser,functions:blockExistingAlarms,functions:getBlacklistedCountryCodesForCodeOnCall,functions:deleteAccount,functions:generateAuthenticationToken,functions:publishAwsWorkerQueueLength,functions:createUserWithoutMobileNumber,functions:getWhatsNewBetweenReleases,functions:processImage,functions:addConnections,functions:getPreviousOccurrencesOfAlarmBetweenTime,functions:generateAvatarThumbnail,functions:getAdditionalSetupInstructions,functions:addContact,functions:cancelSubscription,functions:updateConnections,functions:sendCodeOnCall,functions:appDownload,functions:deleteInvitedContact,functions:getWelcomeAlarms,functions:verifyCode,functions:sendPushNotification,functions:findDeletedAlarms,functions:editInvitedContactName,functions:addWelcomeAlarms,functions:deleteGalarmContact,functions:sendVerificationCode,functions:updateCreatorTimezoneForAlarms,functions:restoreBlockedAlarms"
To continue deploying other features (such as database), run:
firebase deploy --except functions
Error: Functions did not deploy properly.

我没有对这些功能进行任何更改,在更新Firebase CLI之前,我已经成功地部署了这些功能。

控制台上没有实际的错误,所以,我不确定是什么错了,如何解决这个问题。

请告诉我如何调试/解决这个问题。

尝试等待一段时间,然后再次部署。有时这样的错误会因为Firebase方面的问题而发生。过了一段时间,它又起作用了,而不需要你做任何事情。

相关内容

  • 没有找到相关文章

最新更新