Error: Functions did not deploy properly
Functions deploy had errors. To continue deploying other features (such as database), run:
firebase deploy --except functions
Error:
Functions did not deploy properly.
firebase google-cloud-functions
add a comment |
Functions deploy had errors. To continue deploying other features (such as database), run:
firebase deploy --except functions
Error:
Functions did not deploy properly.
firebase google-cloud-functions
I'm having the same problem. With firebase-tools version 3.8.0 and version 3.9.0
– MikeG
May 23 '17 at 4:18
I just came back to it this morning, and ranfirebase deploy --only functions
and its now working again without me changing anything
– MikeG
May 23 '17 at 13:02
1
actually it's worth noting that I did make one small change. Last night, just before I started getting this error, I changed the name of the function. Then this morning I changed the name back again to the original name and it worked fine. Can't be sure if changing the function name caused the error but it's possible
– MikeG
May 23 '17 at 13:34
i think changing the name then changing it back did actually fix it for me
– ewizard
Feb 15 '18 at 20:57
add a comment |
Functions deploy had errors. To continue deploying other features (such as database), run:
firebase deploy --except functions
Error:
Functions did not deploy properly.
firebase google-cloud-functions
Functions deploy had errors. To continue deploying other features (such as database), run:
firebase deploy --except functions
Error:
Functions did not deploy properly.
firebase google-cloud-functions
firebase google-cloud-functions
edited May 23 '17 at 9:02
Geoff James
2,3371724
2,3371724
asked May 19 '17 at 10:15
MarioMario
96111
96111
I'm having the same problem. With firebase-tools version 3.8.0 and version 3.9.0
– MikeG
May 23 '17 at 4:18
I just came back to it this morning, and ranfirebase deploy --only functions
and its now working again without me changing anything
– MikeG
May 23 '17 at 13:02
1
actually it's worth noting that I did make one small change. Last night, just before I started getting this error, I changed the name of the function. Then this morning I changed the name back again to the original name and it worked fine. Can't be sure if changing the function name caused the error but it's possible
– MikeG
May 23 '17 at 13:34
i think changing the name then changing it back did actually fix it for me
– ewizard
Feb 15 '18 at 20:57
add a comment |
I'm having the same problem. With firebase-tools version 3.8.0 and version 3.9.0
– MikeG
May 23 '17 at 4:18
I just came back to it this morning, and ranfirebase deploy --only functions
and its now working again without me changing anything
– MikeG
May 23 '17 at 13:02
1
actually it's worth noting that I did make one small change. Last night, just before I started getting this error, I changed the name of the function. Then this morning I changed the name back again to the original name and it worked fine. Can't be sure if changing the function name caused the error but it's possible
– MikeG
May 23 '17 at 13:34
i think changing the name then changing it back did actually fix it for me
– ewizard
Feb 15 '18 at 20:57
I'm having the same problem. With firebase-tools version 3.8.0 and version 3.9.0
– MikeG
May 23 '17 at 4:18
I'm having the same problem. With firebase-tools version 3.8.0 and version 3.9.0
– MikeG
May 23 '17 at 4:18
I just came back to it this morning, and ran
firebase deploy --only functions
and its now working again without me changing anything– MikeG
May 23 '17 at 13:02
I just came back to it this morning, and ran
firebase deploy --only functions
and its now working again without me changing anything– MikeG
May 23 '17 at 13:02
1
1
actually it's worth noting that I did make one small change. Last night, just before I started getting this error, I changed the name of the function. Then this morning I changed the name back again to the original name and it worked fine. Can't be sure if changing the function name caused the error but it's possible
– MikeG
May 23 '17 at 13:34
actually it's worth noting that I did make one small change. Last night, just before I started getting this error, I changed the name of the function. Then this morning I changed the name back again to the original name and it worked fine. Can't be sure if changing the function name caused the error but it's possible
– MikeG
May 23 '17 at 13:34
i think changing the name then changing it back did actually fix it for me
– ewizard
Feb 15 '18 at 20:57
i think changing the name then changing it back did actually fix it for me
– ewizard
Feb 15 '18 at 20:57
add a comment |
5 Answers
5
active
oldest
votes
I had the same issue with Firestore ,my problem was that the path to the document was bad. I had a slash at the beginning and the end of the path to my document like I used to do with Firebase Realtime Database path.
Hope it helps someone.
add a comment |
After getting the above deploy error, I edited the index.js file and changed the name of the function from "helloWorld" to "heyWorld" and suddenly the firebase deploy command worked.
add a comment |
Just close whatever IDE you're using and then reopen it. Then on node redeploy your functions. This should resolve the issue.
add a comment |
My firebase couldnt find the modules firebase-functions and firebase-admin on deploy because I wrote them in devDependencies instead of just dependencies. But after it ... I still had an issue. But this solved it for me: https://github.com/nuxt/nuxt.js/issues/2714#issuecomment-423048343.
Just notice node 8 as engine object in your function's folder package.json and add the babel snippet in your nuxt config.
add a comment |
Check your json modules dependencies inside functions folder.
There's an specific json package there.
If some module you are including in the project and is not there (in json) you probably will have the error mentioned.
To install just run:
npm install <module> --save
or
yarn add <module> --save
and then run your deploy again:
firebase deploy --only functions
I checked hat each module was installed but i'm still getting this error
– MikeG
May 23 '17 at 4:21
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%2f44067372%2ferror-functions-did-not-deploy-properly%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had the same issue with Firestore ,my problem was that the path to the document was bad. I had a slash at the beginning and the end of the path to my document like I used to do with Firebase Realtime Database path.
Hope it helps someone.
add a comment |
I had the same issue with Firestore ,my problem was that the path to the document was bad. I had a slash at the beginning and the end of the path to my document like I used to do with Firebase Realtime Database path.
Hope it helps someone.
add a comment |
I had the same issue with Firestore ,my problem was that the path to the document was bad. I had a slash at the beginning and the end of the path to my document like I used to do with Firebase Realtime Database path.
Hope it helps someone.
I had the same issue with Firestore ,my problem was that the path to the document was bad. I had a slash at the beginning and the end of the path to my document like I used to do with Firebase Realtime Database path.
Hope it helps someone.
answered Jan 17 '18 at 0:20
jamesthakidjamesthakid
82869
82869
add a comment |
add a comment |
After getting the above deploy error, I edited the index.js file and changed the name of the function from "helloWorld" to "heyWorld" and suddenly the firebase deploy command worked.
add a comment |
After getting the above deploy error, I edited the index.js file and changed the name of the function from "helloWorld" to "heyWorld" and suddenly the firebase deploy command worked.
add a comment |
After getting the above deploy error, I edited the index.js file and changed the name of the function from "helloWorld" to "heyWorld" and suddenly the firebase deploy command worked.
After getting the above deploy error, I edited the index.js file and changed the name of the function from "helloWorld" to "heyWorld" and suddenly the firebase deploy command worked.
answered Dec 28 '17 at 4:29
william wolfewilliam wolfe
111
111
add a comment |
add a comment |
Just close whatever IDE you're using and then reopen it. Then on node redeploy your functions. This should resolve the issue.
add a comment |
Just close whatever IDE you're using and then reopen it. Then on node redeploy your functions. This should resolve the issue.
add a comment |
Just close whatever IDE you're using and then reopen it. Then on node redeploy your functions. This should resolve the issue.
Just close whatever IDE you're using and then reopen it. Then on node redeploy your functions. This should resolve the issue.
answered Sep 24 '18 at 18:11
Junia MontanaJunia Montana
13123
13123
add a comment |
add a comment |
My firebase couldnt find the modules firebase-functions and firebase-admin on deploy because I wrote them in devDependencies instead of just dependencies. But after it ... I still had an issue. But this solved it for me: https://github.com/nuxt/nuxt.js/issues/2714#issuecomment-423048343.
Just notice node 8 as engine object in your function's folder package.json and add the babel snippet in your nuxt config.
add a comment |
My firebase couldnt find the modules firebase-functions and firebase-admin on deploy because I wrote them in devDependencies instead of just dependencies. But after it ... I still had an issue. But this solved it for me: https://github.com/nuxt/nuxt.js/issues/2714#issuecomment-423048343.
Just notice node 8 as engine object in your function's folder package.json and add the babel snippet in your nuxt config.
add a comment |
My firebase couldnt find the modules firebase-functions and firebase-admin on deploy because I wrote them in devDependencies instead of just dependencies. But after it ... I still had an issue. But this solved it for me: https://github.com/nuxt/nuxt.js/issues/2714#issuecomment-423048343.
Just notice node 8 as engine object in your function's folder package.json and add the babel snippet in your nuxt config.
My firebase couldnt find the modules firebase-functions and firebase-admin on deploy because I wrote them in devDependencies instead of just dependencies. But after it ... I still had an issue. But this solved it for me: https://github.com/nuxt/nuxt.js/issues/2714#issuecomment-423048343.
Just notice node 8 as engine object in your function's folder package.json and add the babel snippet in your nuxt config.
answered Nov 23 '18 at 0:48
phngphng
738
738
add a comment |
add a comment |
Check your json modules dependencies inside functions folder.
There's an specific json package there.
If some module you are including in the project and is not there (in json) you probably will have the error mentioned.
To install just run:
npm install <module> --save
or
yarn add <module> --save
and then run your deploy again:
firebase deploy --only functions
I checked hat each module was installed but i'm still getting this error
– MikeG
May 23 '17 at 4:21
add a comment |
Check your json modules dependencies inside functions folder.
There's an specific json package there.
If some module you are including in the project and is not there (in json) you probably will have the error mentioned.
To install just run:
npm install <module> --save
or
yarn add <module> --save
and then run your deploy again:
firebase deploy --only functions
I checked hat each module was installed but i'm still getting this error
– MikeG
May 23 '17 at 4:21
add a comment |
Check your json modules dependencies inside functions folder.
There's an specific json package there.
If some module you are including in the project and is not there (in json) you probably will have the error mentioned.
To install just run:
npm install <module> --save
or
yarn add <module> --save
and then run your deploy again:
firebase deploy --only functions
Check your json modules dependencies inside functions folder.
There's an specific json package there.
If some module you are including in the project and is not there (in json) you probably will have the error mentioned.
To install just run:
npm install <module> --save
or
yarn add <module> --save
and then run your deploy again:
firebase deploy --only functions
answered May 19 '17 at 10:15
MarioMario
96111
96111
I checked hat each module was installed but i'm still getting this error
– MikeG
May 23 '17 at 4:21
add a comment |
I checked hat each module was installed but i'm still getting this error
– MikeG
May 23 '17 at 4:21
I checked hat each module was installed but i'm still getting this error
– MikeG
May 23 '17 at 4:21
I checked hat each module was installed but i'm still getting this error
– MikeG
May 23 '17 at 4:21
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.
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%2f44067372%2ferror-functions-did-not-deploy-properly%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
I'm having the same problem. With firebase-tools version 3.8.0 and version 3.9.0
– MikeG
May 23 '17 at 4:18
I just came back to it this morning, and ran
firebase deploy --only functions
and its now working again without me changing anything– MikeG
May 23 '17 at 13:02
1
actually it's worth noting that I did make one small change. Last night, just before I started getting this error, I changed the name of the function. Then this morning I changed the name back again to the original name and it worked fine. Can't be sure if changing the function name caused the error but it's possible
– MikeG
May 23 '17 at 13:34
i think changing the name then changing it back did actually fix it for me
– ewizard
Feb 15 '18 at 20:57