Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

Error on jhipster --blueprints javaee #26

@buurd

Description

@buurd
$ jhipster --blueprint javaee
INFO! Using bundled JHipster
INFO! No custom sharedOptions found within blueprint: generator-jhipster-javaee at /usr/local/lib/node_modules/generator-jhipster-javaee
INFO! No custom commands found within blueprint: generator-jhipster-javaee at /usr/local/lib/node_modules/generator-jhipster-javaee
ERROR! This is a JHipster blueprint and should be used only like jhipster --blueprints javaee
Error: This is a JHipster blueprint and should be used only like jhipster --blueprints javaee
    at module.exports.error (/usr/local/lib/node_modules/generator-jhipster-javaee/node_modules/generator-jhipster/generators/generator-base.js:1590:15)
    at new module.exports (/usr/local/lib/node_modules/generator-jhipster-javaee/generators/app/index.js:13:18)
    at Environment.instantiate (/home/jhipster/generator-jhipster/node_modules/yeoman-environment/lib/environment.js:806:23)
    at Environment.create (/home/jhipster/generator-jhipster/node_modules/yeoman-environment/lib/environment.js:778:17)
    at /home/jhipster/generator-jhipster/cli/program.js:190:58
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)
    at async JHipsterCommand._lazyBuildCommandCallBack (/home/jhipster/generator-jhipster/cli/program.js:180:13)
    at async JHipsterCommand._parseCommand (/home/jhipster/generator-jhipster/cli/jhipster-command.js:79:7)
    at async JHipsterCommand.parseAsync (/home/jhipster/generator-jhipster/node_modules/commander/lib/command.js:917:5)

To reproduce:

Download the latest of the JHipster image and start a container from that image.

sudo docker run --name jhipster -v ~/jhipster/myapp:/home/jhipster/app -v ~/.m2:/home/jhipster/.m2 -p 8080:8080 -p 9000:9000 -p 3001:3001 -d -t jhipster/jhipster

Start a terminal into the JHipster container.

sudo docker exec -it jhipster bash

Install the javaee blueprint

npm install -g generator-jhipster-javaee

Run JHipster with the javaee blueprint

jhipster --blueprints javaee

Have I missed a step somewhere to be able to use the javaee blueprint or is it a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions