In developing php appengine standard app, I wanted a local development datastore so I ran- gcloud components install cloud-datastore-emulator
I also installed google cloud data store globally using
composer require google\cloud_datastore
After that tried to start the emulator with
gcloud beta emulators datastore start --data-dir="C:\Users\Hellen\Desktop\New folder\myDstore"
But the command failed with the following output.
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.
Can someone tell me what the problem is? I really don't know what next to try.
The problem was that I had both app engine server installed and Google cloud SDK, and both have similar commands. So I uninstalled both and installed only gcloud SDK. Thanks so much for the hint.