I’m deploying a large static site. It contains around 71000 small files with a total size of near of 2GB. After package and compress, the tar.gz file size is no more than 33MB.
I have a good internet connection (1G download / 100M upload).
firebase deploy --only hosting exit with a timeout error after ten minutes.
[2022-10-15T17:45:08.396Z] Error: Timed out. at Timeout._onTimeout (/home/angelcc/.nvm/versions/node/v16.17.1/lib/node_modules/firebase-tools/lib/utils.js:253:49) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) Error: An unexpected error has occurred.
- How can I deploy sites of this size in firebase hosting?
- To avoid timeouts, Is there a way to push a compress file with the full site?
Read more here: Source link