[英]files limit in google cloud platform in angular universal project
Well, I am trying to follow some tutorial to deploy an Universal Angular project on google cloud platform. 好吧,我正在尝试按照一些教程在Google云平台上部署Universal Angular项目。
The project work fine on local < it's just an empty Universal Angular project >. 该项目在本地工作正常<它只是一个空的Universal Angular项目>。
So I try deploy it on google cloud app engine using: 所以我尝试使用以下方法在谷歌云应用引擎上部署它:
gcloud app deploy
Here come the puzzle part: It gives me an error: 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[...]
这里有一个难题部分:它给了我一个错误:
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[...]
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[...]
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[...]
Well, I am using the free plan from google: 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[...]
嗯,我正在使用谷歌的免费计划:
So my question is: 所以我的问题是:
Thank you very much for reading the question. 非常感谢你阅读这个问题。
I am assuming this is because your node_modules folder is getting uploaded as well. 我假设这是因为你的node_modules文件夹也上传了。 There is a skip_files option for the app.yaml, which you might need to use to ensure that the node_modules directory isn't getting pushed.
app.yaml有一个skip_files选项,您可能需要使用该选项来确保不会推送node_modules目录。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.