Recently, when trying to deploy my Firebase Functions i get the following error:
...
functions[verify(us-central1)]: Deployment error.
Build failed: Build error details not available. Please check the logs at
...
GCP logs:
| labels.build_step | resource.type | severity | textPayload |
|---|---|---|---|
| MAIN | build | INFO | ERROR: error fetching storage source: generic::unknown: retry budget exhausted (3 attempts): fetching gcs source: unpacking source from gcs: source fetch container exited with non-zero status: 1 |
| MAIN | build | INFO | ERROR |
| gsutil:STDOUT | build | INFO | Archive: /tmp/source-archive.zip |
| gsutil:STDERR | build | INFO | (EOF or read error, treating as "[N]one" ...) |
| gsutil:STDERR | build | INFO | replace /workspace/.runtimeconfig.json? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL |
| gsutil:STDERR | build | INFO | Operation completed over 1 objects/89.4 KiB. |
| gsutil:STDERR | build | INFO | / [0 files][ 0.0 B/ 89.4 KiB] / [1 files][ 89.4 KiB/ 89.4 KiB] |
| gsutil:STDERR | build | INFO | Copying gs://gcf-sources-972818261280-us-central1/verify-d55557e5-9fcf-4a3d-b144-17690c85f5a1/version-182/function-source.zip#1611906282665422... |
| MAIN | build | INFO | Fetching storage object: gs://gcf-sources-972818261280-us-central1/verify-d55557e5-9fcf-4a3d-b144-17690c85f5a1/version-182/function-source.zip#1611906282665422 |
| gsutil:STDERR | build | INFO | (EOF or read error, treating as "[N]one" ...) |
| gsutil:STDERR | build | INFO | replace /workspace/.runtimeconfig.json? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL |
| gsutil:STDOUT | build | INFO | Archive: /tmp/source-archive.zip |
| gsutil:STDERR | build | INFO | Operation completed over 1 objects/89.4 KiB. |
| gsutil:STDERR | build | INFO | / [0 files][ 0.0 B/ 89.4 KiB] / [1 files][ 89.4 KiB/ 89.4 KiB] |
| gsutil:STDERR | build | INFO | Copying gs://gcf-sources-972818261280-us-central1/verify-d55557e5-9fcf-4a3d-b144-17690c85f5a1/version-182/function-source.zip#1611906282665422... |
| MAIN | build | INFO | Fetching storage object: gs://gcf-sources-972818261280-us-central1/verify-d55557e5-9fcf-4a3d-b144-17690c85f5a1/version-182/function-source.zip#1611906282665422 |
| gsutil:STDERR | build | INFO | bad CRC 4992186c (should be 00000000) |
| gsutil:STDOUT | build | INFO | inflating: /workspace/tslint.json |
| gsutil:STDOUT | build | INFO | inflating: /workspace/tsconfig.json |
| gsutil:STDOUT | build | INFO | inflating: /workspace/src/index.ts |
| gsutil:STDOUT | build | INFO | inflating: /workspace/src/booking.mjml |
| gsutil:STDOUT | build | INFO | inflating: /workspace/src/booking.html |
| gsutil:STDOUT | build | INFO | inflating: /workspace/package.json |
| gsutil:STDOUT | build | INFO | inflating: /workspace/package-lock.json |
| gsutil:STDOUT | build | INFO | inflating: /workspace/lib/index.js.map |
| gsutil:STDOUT | build | INFO | inflating: /workspace/lib/index.js |
| gsutil:STDOUT | build | INFO | inflating: /workspace/.runtimeconfig.json inflating: /workspace/.gitignore |
| gsutil:STDOUT | build | INFO | Archive: /tmp/source-archive.zip |
| gsutil:STDERR | build | INFO | Operation completed over 1 objects/89.4 KiB. |
| gsutil:STDERR | build | INFO | / [0 files][ 0.0 B/ 89.4 KiB] / [1 files][ 89.4 KiB/ 89.4 KiB] |
| gsutil:STDERR | build | INFO | Copying gs://gcf-sources-972818261280-us-central1/verify-d55557e5-9fcf-4a3d-b144-17690c85f5a1/version-182/function-source.zip#1611906282665422... |
| MAIN | build | INFO | Fetching storage object: gs://gcf-sources-972818261280-us-central1/verify-d55557e5-9fcf-4a3d-b144-17690c85f5a1/version-182/function-source.zip#1611906282665422 |
| MAIN | build | INFO | FETCHSOURCE |
| MAIN | build | INFO | starting build "f8f97fdd-29ff-4964-a080-26ba4bdd5705" |
Apparently it requires me to to press a key to replace /workspace/.runtimeconfig.json, which i obviously can't do. There is also a CRC mismatch.
I've deleted the functions via the Cloud Functions tab and reinstalled all my node modules, but the error persists.