Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function fails to deploy #659

Closed
kr05 opened this issue Feb 6, 2018 · 4 comments
Closed

Function fails to deploy #659

kr05 opened this issue Feb 6, 2018 · 4 comments

Comments

@kr05
Copy link

kr05 commented Feb 6, 2018

Version info

3.17.4

Steps to reproduce

I'm having trouble deploying my cloud function. I checked the firebase status dashboard and everything seems to be ok. The deployment gets stuck at "updating function" and statys like for about 10 minutes until it simply stops. In the logs, it simply says "operation interrupted". Any idea on what the problem might be?

Expected behavior

Function deploys successfully.

Actual behavior

Function doesn't deploy successfully.

@manucho007
Copy link

manucho007 commented Feb 6, 2018

I'm having problems also deploying functions, but I get a different message:
image

NPM v. 5.6.0
I tried many times and verified that the files actually exist and that they are on the location they're supposed to be.

@apwelsh
Copy link

apwelsh commented Jul 17, 2018

I am still having this issue. I did discover that if I tether off my cell phone, it works 100% of the time, but on my LAN it fails 100% of the time. The best I can guess is that it may have to do with my LAN IP range, since both solutions use IPv6+v4 dual stack network, and my LAN is substantially faster at 100Mbps than my cell at 30Mbps max.

@laurenzlong
Copy link
Contributor

@manucho007 Open up firebase.json, delete the fields "predeploy" and "postdeploy", which are under "functions"

@laurenzlong
Copy link
Contributor

Let's consolidate comments on this to #822 (comment). Please follow my instructions on that comment for workarounds. This is a high priority bug for us to fix, unfortunately it's not straightforward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants