0

I was deploying some updates for my web app, but found out that not all files were updated after the deployment. Some functions broke because of this and I found out that when deploying, it didn't upload the full 100%. I think this is why it does not update every file. Somebody knows how to fix this? Since the new update it makes a 'functions' folder, which is around 12-20mb. I don't need functions, so do you have to have this per se?

Thanks!

enter image description here

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Zizazorro
  • 1,321
  • 2
  • 11
  • 19
  • If you don't want to include functions on deploy you can use `firebase deploy --only hosting,database,storage`. –  Mar 12 '17 at 13:40
  • The Firebase tools write a log file when you run `firebase deploy`. Is there anything about problems in that file? – Frank van Puffelen Mar 12 '17 at 15:17
  • Thanks Pieter. @FrankvanPuffelen, do you mean the .firebaserc file? The weird thing is, when I go to .firebaseapp.com, the changes are correct and updated. I am aware of a cache problem, but I've tried it on multiple devices and that shows the same error (also after hard refresh etc) – Zizazorro Mar 13 '17 at 12:18
  • I'm having the same issue (67% for me), using latest version of firebase tools. It's causing some aspects of the website to be updated and some not, and so it's extremely problematic. @FrankvanPuffelen do you have any ideas on how to get around this? Thanks – Sam Matthews Mar 20 '17 at 19:00
  • I'm still having this issue as well – Zizazorro Mar 20 '17 at 19:07
  • Edit: Issue fixed by new firebase-tools update – Zizazorro Apr 22 '17 at 17:58

1 Answers1

0

If your files are in the format of .js , .ejs or other such formats, just put them in functions folder. If they are in .html , .txt ,.xml etc, drop them in public folder.

Ayush Gupta
  • 133
  • 3
  • 5