ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: This deployment has too many files. New versions are limited to 10000 files for this app.
- '@type': type.googleapis.com/google.rpc.BadRequest
fieldViolations:
- description: This deployment has too many files. New versions are limited to 10000
files for this app.
field: version.deployment.files[...]
I want to know how to re-deploy the app with the correct code. how am I suppose to go about this?
Hello Jane,
What I understand here is that you are deploying your entire environment with the installed libraries and not just the required files.
Can you check that you are in the folder containing just the files that you want to deploy and that you aren't displaying unnecessary files?