2018年3月25日日曜日

GAEではまる

GAEのデプロイができない。
gcloud app deploy app.yaml --project purephoenix-site
ERROR: (gcloud.app.deploy)
The [application] field is specified in file [ディレクトリ/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) The [application] field is specified in file [/home/pure3phoenix9/src/purephoenix-site/python_gae_quickstart-2018-03-25-17-16/appengine/standard/hello_world/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.

ググりまくって早2時間(;´д`)トホホ
ようやく見つけたサイトでは、
app.yaml内のapplicationversionの項目を消す。」
と書いてある。
それをやったらデプロイ可能になった。
なぜなのかを調べるのは大変なので、やめとこうww

というわけで役に立てたら幸いです。
See You!

2 件のコメント:

  1. おかげでデプロイできました!

    返信削除
  2. ありがとうございます。デプロイできました。

    返信削除