generator-jhipster: JHipster gae error

I’m trying to generate the configuration files for google app engine on a monolithic application in windows.

When I run the command “jhipster gae” it gives me this error:

Welcome to Google App Engine Generator (Beta) WARNING! This sub-generator is still in development, please report bugs on Github

Installing App Engine Java SDK … Running: gcloud components install app-engine-java --quiet events.js:167 throw er; // Unhandled ‘error’ event ^

Error: spawn gcloud ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19) at onErrorNT (internal/child_process.js:407:16) at process._tickCallback (internal/process/next_tick.js:63:19) Emitted ‘error’ event at: at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12) at onErrorNT (internal/child_process.js:407:16) at process._tickCallback (internal/process/next_tick.js:63:19)

JHipster Version(s)
gcp-example@0.0.0 C:\Users\angel\Development\jhipster\jhipster-gcp
`-- generator-jhipster@5.8.2

JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "generator-jhipster": {
    "promptValues": {
      "packageName": "com.angelchanquin.gcp.notifications"
    },
    "jhipsterVersion": "5.8.2",
    "applicationType": "monolith",
    "baseName": "gcp_example",
    "packageName": "com.angelchanquin.gcp.notifications",
    "packageFolder": "com/angelchanquin/gcp/notifications",
    "serverPort": "8080",
    "authenticationType": "jwt",
    "cacheProvider": "ehcache",
    "enableHibernateCache": true,
    "websocket": false,
    "databaseType": "sql",
    "devDatabaseType": "h2Disk",
    "prodDatabaseType": "mysql",
    "searchEngine": false,
    "messageBroker": false,
    "serviceDiscoveryType": false,
    "buildTool": "maven",
    "enableSwaggerCodegen": false,
    "jwtSecretKey": "",
    "clientFramework": "angularX",
    "useSass": false,
    "clientPackageManager": "npm",
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "entitySuffix": "",
    "dtoSuffix": "DTO",
    "otherModules": [],
    "enableTranslation": false
  }
}
JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions
entity Notifications {
  title String required maxlength(20),
  message String required maxlength(100)
}
service Notifications with serviceClass

Environment and Tools

java version “1.8.0_181” Java™ SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot™ 64-Bit Server VM (build 25.181-b13, mixed mode)

git version 2.19.1.windows.1

node: v10.13.0

npm: 6.4.1

yeoman: 2.0.5

yarn: 1.12.3

Docker version 18.09.1, build 4c52b90

docker-compose version 1.23.2, build 1110ad01

  • Checking this box is mandatory (this is just to show you read everything)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 29 (15 by maintainers)

Most upvoted comments

@SudharakaP : don’t forget to claim the bounty here too 😃

@SudharakaP : thanks a lot ! not sure I’ll have the time to test and review. Hope someone else from the team can do it