我安装了 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
再次出现同样的错误,我的命令有什么问题吗?
现在我解决了这个问题,答案就在错误消息中:在我的app.yaml
文件,删除application
and version
yaml 文件中的行。那么就不会有这样的错误了。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)