Gcloud beta 模拟器数据存储启动错误 Google/Cloud 未被识别为内部或外部命令

Gcloud beta emulators data store start error Google/Cloud is not recognized as an internal or external command

在开发 php appengine 标准应用程序时,我想要一个本地开发数据存储区,所以我 运行- gcloud components install cloud-datastore-emulator 我还使用

在全球范围内安装了 google 云数据存储

composer require google\cloud_datastore

之后尝试使用

启动模拟器
gcloud beta emulators datastore  start --data-dir="C:\Users\Hellen\Desktop\New folder\myDstore"

但是命令失败,输出如下。

WARNING: Reusing existing data in [C:\Users\Hellen\Desktop\New folder\myDstore]. Executing: cmd /c C:\Users\Hellen\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\cloud-datastore-emulator\cloud_datastore_emulator.cmd start --host=localhost --port=8081 --store_on_disk=True --consistency=0.9 --allow_remote_shutdown C:\Users\Hellen\Desktop\New folder\myDstore [datastore] 'C:\Users\Hellen\AppData\Local\Google\Cloud' is not recognized as an internal or external command, [datastore] operable program or batch file.

谁能告诉我问题出在哪里?我真的不知道下一步该尝试什么。

问题是我同时安装了 App Engine 服务器和 Google 云 SDK,两者都有相似的命令。所以我卸载了两者并只安装了 gcloud SDK。非常感谢您的提示。