Firebase Cloud Functions - Functions that has been deleted from code, aren't being deleted from CF
up vote
0
down vote
favorite
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 |
up vote
0
down vote
favorite
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 |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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,7951435
1,7951435
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
up vote
0
down vote
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 |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
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 |
up vote
0
down vote
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 |
up vote
0
down vote
up vote
0
down vote
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,7951435
1,7951435
add a comment |
add a comment |
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