Repository navigation
Closed
Description
**firebase-tools: 10.3.0
**Platform: macOS M1 Pro
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
sudo npm i -g firebase-tools
sudo firebase deploy --only functions
[REQUIRED] Expected behavior
✔ functions: Finished running predeploy script.
⚠ functions: package.json indicates an outdated version of firebase-functions. Please upgrade using npm install --save firebase-functions@latest in your functions directory.
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 (124.01 KB) for uploading
✔ functions: functions folder uploaded successfully
i functions: updating Node.js 16 function testing(us-central1)...
i functions: updating Node.js 16 function signUp(us-central1)...
i functions: updating Node.js 16 function signIn(us-central1)...
i functions: updating Node.js 16 function getAuthUserInfo(us-central1)...
i functions: updating Node.js 16 function editProfile(us-central1)...
i functions: updating Node.js 16 function deleteProfile(us-central1)...
i functions: updating Node.js 16 function userEmailVerified(us-central1)...
i functions: updating Node.js 16 function changeUserEmail(us-central1)...
i functions: updating Node.js 16 function updateUserId(us-central1)...
i functions: updating Node.js 16 function mapSearch(us-central1)...
i functions: updating Node.js 16 function followingLoc(us-central1)...
i functions: updating Node.js 16 function unfollowingLoc(us-central1)...
i functions: updating Node.js 16 function createActivity(us-central1)...
i functions: updating Node.js 16 function deleteActivity(us-central1)...
i functions: updating Node.js 16 function activityNotification(us-central1)...
✔ functions[mapSearch(us-central1)] Successful update operation.
✔ functions[updateUserId(us-central1)] Successful update operation.
✔ functions[deleteActivity(us-central1)] Successful update operation.
✔ functions[signUp(us-central1)] Successful update operation.
✔ functions[unfollowingLoc(us-central1)] Successful update operation.
✔ functions[activityNotification(us-central1)] Successful update operation.
✔ functions[userEmailVerified(us-central1)] Successful update operation.
✔ functions[followingLoc(us-central1)] Successful update operation.
✔ functions[deleteProfile(us-central1)] Successful update operation.
✔ functions[signIn(us-central1)] Successful update operation.
✔ functions[getAuthUserInfo(us-central1)] Successful update operation.
✔ functions[editProfile(us-central1)] Successful update operation.
✔ functions[testing(us-central1)] Successful update operation.
✔ functions[changeUserEmail(us-central1)] Successful update operation.
✔ functions[createActivity(us-central1)] Successful update operation.
[REQUIRED] Actual behavior
(base) fbc % sudo firebase deploy --only functions
=== Deploying to 'mobile-app'...
i deploying functions
Running command: npm --prefix "$RESOURCE_DIR" run build
> build
> tsc
✔ functions: Finished running predeploy script.
⚠ functions: package.json indicates an outdated version of firebase-functions. Please upgrade using npm install --save firebase-functions@latest in your functions directory.
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 (124.01 KB) for uploading
✔ functions: functions folder uploaded successfully
Error: [testing(us-central1)] Changing from a callable function to an HTTPS function is not allowed. Please delete your function and create a new one instead.
Having trouble? Try firebase [command] --help
Reacted by Pavel Vlasov, Qiushi Pan and Ijemma Onwuzulike
Metadata
Metadata
Assignees
Labels
No labels
Activity
google-oss-bot commentedon Mar 15, 2022
This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.
arnoutvandervorst commentedon Mar 15, 2022
Same for me with 10.30, cannot deploy any callable function. When I delete the mentioned function the same error remains.
pavelvlasov commentedon Mar 16, 2022
Can confirm the same behavior with 10.3.0. Deployment succeeded after the function is deleted, but the next run is failing again.
arnoutvandervorst commentedon Mar 16, 2022
Downgraded to 10.2.2, can successfully deploy again.
qqpann commentedon Mar 16, 2022
I thought downgrading helped, but I'm not sure now. In my case
npm installagain seems to have fixed the issue.andreibarabas commentedon Mar 16, 2022
Happened to me as well. Had to downgrade back to
10.2.2in order to be able to deployijemmao commentedon Mar 16, 2022
I started to see this error when I was deploying on version
9.10.2. I've upgraded to10.2.2, but I'm still getting the same error :/bkendall commentedon Mar 16, 2022
Since this is closed, I'll direct folks over to...
Duplicate of #4307
Trigger parser can create callable triggers (#4310)
CalvinJamesHeath commentedon May 14, 2024
Same issue here.