Firebase Cloud Functions - Functions that has been deleted from code, aren't being deleted from CF
The Issue
When I remove a function from the cloud functions and redeploy the rest, I get a message in the terminal:
The following functions are found in your project but do not exist in your
local source code:
function1(us-central1)
function2(us-central1)
Would you like to proceed with deletion? Selecting no will continue the rest of the deployments. (y/N)
I type "y". Once I redeploy again, I get the same message, over and over. What am I missing?
Depenencies
"firebase-admin": "~6.0.0",
"firebase-functions": "^2.1.0",
node.js typescript google-cloud-functions
add a comment |
The Issue
When I remove a function from the cloud functions and redeploy the rest, I get a message in the terminal:
The following functions are found in your project but do not exist in your
local source code:
function1(us-central1)
function2(us-central1)
Would you like to proceed with deletion? Selecting no will continue the rest of the deployments. (y/N)
I type "y". Once I redeploy again, I get the same message, over and over. What am I missing?
Depenencies
"firebase-admin": "~6.0.0",
"firebase-functions": "^2.1.0",
node.js typescript google-cloud-functions
If something about the Firebase CLI doesn't work the way you expect, file a bug report with the steps that anyone can take to reproduce the problem. Make sure you have the latest version offirebase-tools. firebase.google.com/support/contact/bugs-features
– Doug Stevenson
Nov 12 at 17:43
add a comment |
The Issue
When I remove a function from the cloud functions and redeploy the rest, I get a message in the terminal:
The following functions are found in your project but do not exist in your
local source code:
function1(us-central1)
function2(us-central1)
Would you like to proceed with deletion? Selecting no will continue the rest of the deployments. (y/N)
I type "y". Once I redeploy again, I get the same message, over and over. What am I missing?
Depenencies
"firebase-admin": "~6.0.0",
"firebase-functions": "^2.1.0",
node.js typescript google-cloud-functions
The Issue
When I remove a function from the cloud functions and redeploy the rest, I get a message in the terminal:
The following functions are found in your project but do not exist in your
local source code:
function1(us-central1)
function2(us-central1)
Would you like to proceed with deletion? Selecting no will continue the rest of the deployments. (y/N)
I type "y". Once I redeploy again, I get the same message, over and over. What am I missing?
Depenencies
"firebase-admin": "~6.0.0",
"firebase-functions": "^2.1.0",
node.js typescript google-cloud-functions
node.js typescript google-cloud-functions
asked Nov 12 at 17:34
Eliya Cohen
1,9811635
1,9811635
If something about the Firebase CLI doesn't work the way you expect, file a bug report with the steps that anyone can take to reproduce the problem. Make sure you have the latest version offirebase-tools. firebase.google.com/support/contact/bugs-features
– Doug Stevenson
Nov 12 at 17:43
add a comment |
If something about the Firebase CLI doesn't work the way you expect, file a bug report with the steps that anyone can take to reproduce the problem. Make sure you have the latest version offirebase-tools. firebase.google.com/support/contact/bugs-features
– Doug Stevenson
Nov 12 at 17:43
If something about the Firebase CLI doesn't work the way you expect, file a bug report with the steps that anyone can take to reproduce the problem. Make sure you have the latest version of
firebase-tools. firebase.google.com/support/contact/bugs-features– Doug Stevenson
Nov 12 at 17:43
If something about the Firebase CLI doesn't work the way you expect, file a bug report with the steps that anyone can take to reproduce the problem. Make sure you have the latest version of
firebase-tools. firebase.google.com/support/contact/bugs-features– Doug Stevenson
Nov 12 at 17:43
add a comment |
1 Answer
1
active
oldest
votes
Turns out it's a known issue that was recently reported.
To fix this, and I quote Firebase's support:
I'm sorry for the inconveniences, that is a known issue that was reported recently, please check this link: https://github.com/firebase/firebase-tools/issues/982 . The fix is ready and should be available in the next release of the firebase-tools package. In the meantime there are two alternatives:
add the "--force" option:
firebase deploy --force --only functions
use the "delete" command:
firebase functions:delete funcName1 functName2 ...
You can check more options like this:
firebase deploy --help
firebase functions:delete --help
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53267302%2ffirebase-cloud-functions-functions-that-has-been-deleted-from-code-arent-bei%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Turns out it's a known issue that was recently reported.
To fix this, and I quote Firebase's support:
I'm sorry for the inconveniences, that is a known issue that was reported recently, please check this link: https://github.com/firebase/firebase-tools/issues/982 . The fix is ready and should be available in the next release of the firebase-tools package. In the meantime there are two alternatives:
add the "--force" option:
firebase deploy --force --only functions
use the "delete" command:
firebase functions:delete funcName1 functName2 ...
You can check more options like this:
firebase deploy --help
firebase functions:delete --help
add a comment |
Turns out it's a known issue that was recently reported.
To fix this, and I quote Firebase's support:
I'm sorry for the inconveniences, that is a known issue that was reported recently, please check this link: https://github.com/firebase/firebase-tools/issues/982 . The fix is ready and should be available in the next release of the firebase-tools package. In the meantime there are two alternatives:
add the "--force" option:
firebase deploy --force --only functions
use the "delete" command:
firebase functions:delete funcName1 functName2 ...
You can check more options like this:
firebase deploy --help
firebase functions:delete --help
add a comment |
Turns out it's a known issue that was recently reported.
To fix this, and I quote Firebase's support:
I'm sorry for the inconveniences, that is a known issue that was reported recently, please check this link: https://github.com/firebase/firebase-tools/issues/982 . The fix is ready and should be available in the next release of the firebase-tools package. In the meantime there are two alternatives:
add the "--force" option:
firebase deploy --force --only functions
use the "delete" command:
firebase functions:delete funcName1 functName2 ...
You can check more options like this:
firebase deploy --help
firebase functions:delete --help
Turns out it's a known issue that was recently reported.
To fix this, and I quote Firebase's support:
I'm sorry for the inconveniences, that is a known issue that was reported recently, please check this link: https://github.com/firebase/firebase-tools/issues/982 . The fix is ready and should be available in the next release of the firebase-tools package. In the meantime there are two alternatives:
add the "--force" option:
firebase deploy --force --only functions
use the "delete" command:
firebase functions:delete funcName1 functName2 ...
You can check more options like this:
firebase deploy --help
firebase functions:delete --help
answered Nov 13 at 11:50
Eliya Cohen
1,9811635
1,9811635
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53267302%2ffirebase-cloud-functions-functions-that-has-been-deleted-from-code-arent-bei%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If something about the Firebase CLI doesn't work the way you expect, file a bug report with the steps that anyone can take to reproduce the problem. Make sure you have the latest version of
firebase-tools. firebase.google.com/support/contact/bugs-features– Doug Stevenson
Nov 12 at 17:43