[英]Angular Universal + Firebase Cloud Function causing memory limit exceeded
[英]files limit in google cloud platform in angular universal project
好吧,我正在嘗試按照一些教程在Google雲平台上部署Universal Angular項目。
該項目在本地工作正常<它只是一個空的Universal Angular項目>。
所以我嘗試使用以下方法在谷歌雲應用引擎上部署它:
gcloud app deploy
這里有一個難題部分:它給了我一個錯誤: 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[...]
嗯,我正在使用谷歌的免費計划:
所以我的問題是:
非常感謝你閱讀這個問題。
我假設這是因為你的node_modules文件夾也上傳了。 app.yaml有一個skip_files選項,您可能需要使用該選項來確保不會推送node_modules目錄。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.