(gcloud.app.deploy)错误响应:[13]发生内部错误

时间:2017-08-21 21:23:00

标签: angular google-app-engine

我已经将Angular 4应用程序部署到应用程序引擎数周,昨天它已停止部署。即使在检查GCP日志和verbosity = debug之后,我所能得到的只是“错误响应:[13]发生内部错误。”我已经更新了NPM和gcloud组件。

如何调试?

Updating service [default]...\DEBUG: Operation [apps/project-99999/operations/48dda4a4-9f4b-4144-8085-9c] complete. Result: {
    "metadata": {
        "target": "apps/project-99999/services/default/versions/201705635", 
        "method": "google.appengine.v1.Versions.CreateVersion", 
        "user": "user@gmail.com", 
        "insertTime": "2017-08-21T20:56:41.587Z", 
        "ephemeralMessage": "Copying 97 application files and 48 static files.", 
        "endTime": "2017-08-21T20:56:45.511Z", 
        "@type": "type.googleapis.com/google.appengine.v1.OperationMetadataV1"
    }, 
    "done": true, 
    "name": "apps/project-99999/operations/48dda4a4-9f4b-4144-8085-9c1a", 
    "error": {
        "message": "An internal error occurred.", 
        "code": 13
    }
}
Updating service [default]...failed.                                                                               
DEBUG: (gcloud.app.deploy) Error Response: [13] An internal error occurred.
Traceback (most recent call last):
  File "/Users/user/GitHub/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 787, in Execute
    resources = args.calliope_command.Run(cli=self, args=args)

2 个答案:

答案 0 :(得分:1)

Arghh,我不小心离开了macOS“Icon?”资产文件夹中的文件,它不在我的.gitignore中。只需删除文件即可解决问题。令人难以置信......虽然一个很好的描述性错误信息肯定会很好。

答案 1 :(得分:0)

我没有Icon *文件,而是.keep文件。将.keep添加到.gitignore并成功重新部署。