This repository has been archived by the owner on Dec 3, 2023. It is now read-only.
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.
Core: BaseEmulatorHelper fails to detect GCloud installation on Windows #383
Closed
Description
Environment details
- API: Core
- OS type and version: Windows 10
- Java version: 11
- google-cloud-core version(s): 1.94.1
Steps to reproduce
- Run an emulator on Windows. For example, using LocalDatastoreHelper
- The GCloud installation is not detected, so the emulator runs from a downloaded zip file
Code example
LocalDatastoreHelper datastoreHelper = LocalDatastoreHelper.create();
datastoreHelper.start();
Look at the processes started. It will not be the gcloud-based variant, even if gcloud is installed. You can tell it's the gcloud variant if a python process is started.
Stack trace
N/A
External references such as API reference guides
Any additional information below
In Windows the PATH environment variable is Path (not all uppercase) so this is why it is not detecting the installation.