JHipster

Java
Node.js
JHipster
Generating, developing and deploying modern web applications & microservice architectures
Author

ProtossGP32

Published

May 25, 2023

Introduction

Getting started

  • Make sure you have installed Java, git and Node.js
  • Install jHipster:
$ npm install -g generator-jhipster
Known bug with JHipster 7.9.3 and NodeJs > 16.0

JHIpster expects an additional export in its node module’s package.json file –> GitHub related bug

~/.nvm/versions/node/v18.12.1/lib/node_modules/generator-jhipster/node_modules/yeoman-environment/package.json
{ 
    "exports": {
        ...
        "./lib/util/namespace": "./lib/util/namespace.js"
    }
}

This bug is expected to be solved in JHipster>=7.9.4

  • Create a new directory and go into it:
$ mkdir myApp && cd myApp
  • Run JHipster and follow instructions on screen:
$ jhipster
Avoid JHipster from locally commit after generation

By default, JHipster commits the project to your git project after creating it. If you just want a sandbox project and don’t want these changes in your repository, launch it with the --skip-git option

$ jhipster --skip-git

Other useful command-line options can be found here