前提・実現したいこと
GCP SDK
GAE SDK for Goのローカル開発環境で
Cloud Datastoreを使用するためにCloud Datastoreのエミュレータを起動する
発生している問題・エラーメッセージ
エラーメッセージ
WARNING: Reusing existing data in [/Users/myuser/.config/gcloud/emulators/datastore].
Executing: /Users/myuser/google-cloud-sdk/platform/cloud-datastore-emulator/cloud_datastore_emulator start --host=::1 --port=NNNN --store_on_disk=True --consistency=0.9 --allow_remote_shutdown /Users/myuser/.config/gcloud/emulators/datastore
ERROR: gcloud crashed (IOError): [Errno 13] Permission denied: '/Users/myuser/.config/gcloud/emulators/datastore/env.yaml'
試したこと
Cloud Datastoreのエミュレータを起動
$ gcloud beta emulators datastore start
上記エラーが出力され以下のメッセージ通り行う。
If you would like to report this issue, please run the following command:
gcloud feedback
$ gcloud feedback
-一応feedbackを送る
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
$ gcloud info --run-diagnostics
- 実行結果
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic (1/1 checks) passed.
補足情報(FW/ツールのバージョンなど)
Google Cloud SDK 187.0.0
cloud-datastore-emulator 1.4.0
gcd-emulator v1beta3-1.0.0
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。