【发布时间】:2018-07-12 15:10:41
【问题描述】:
我安装了一个 python 版本的谷歌应用引擎,我在控制台中创建了一个新项目。我按照终端中的说明在工作目录中使用命令gcloud app deploy,然后出现此错误:
ERROR: The [application] field is specified in file
[/Users/fengxinlin/project/app.yaml]. This field is not used by
gcloud and must be removed. Project name should instead be specified
either by `gcloud config set project MY_PROJECT` or by setting the `-
-project` flag on individual command executions.
ERROR: (gcloud.app.deploy) Errors occurred while parsing the App
Engine app configuration.
然后我尝试gcloud config set project [one of my project],然后我再次gcloud app deploy,我得到同样的错误,我的命令有什么问题吗?
【问题讨论】: