jhipster docker-compose: *TypeError: Cannot read property 'generator-jhipster' of undefined*

Viewed 625

When I try to execute jhipster docker-compose it comes to an error and I don't know what am I doing wrong.

  1. I create a jhipster Microservice Gateway App with JHipster generators

    generator-jhipster-module-2.2.0 and generator-jhipster-docker-2.2.0

  2. I create a jhipster Microservice App with JHipster generators

    generator-jhipster-module-2.2.0 and generator-jhipster-docker-2.2.0

  3. I followed the construction at http://www.jhipster.tech/docker-compose/

I answered the upcoming questions as followed:

  1. Which type of application would you like to deploy?

    Microservice application

  2. Which type of gateway would you like to use?

    JHipster gateway based on Netflix Zuul

  3. Enter the root directory where your gateway(s) and microservices are located

    /Users/spoho/git/article

  4. Which applications do you want to include in your configuration?

    I selected the microservice and the gateway

After that the following error comes up:

TypeError: Cannot read property 'generator-jhipster' of undefined
at appsFolders.forEach (/Users/spoho/.config/yarn/global/node_modules/generator-jhipster/generators/docker-prompts.js:177:36)
at Array.forEach (native)
at prompt.then (/Users/spoho/.config/yarn/global/node_modules/generator-jhipster/generators/docker-prompts.js:174:26)

docker-prompt.js Any help appreciated. Kindly Hendrik

1 Answers
Related