jhipster / generator-jhipster-module

DEPRECATED: use https://github.com/jhipster/generator-jhipster instead
Apache License 2.0
43 stars 29 forks source link

Errors when using JHipster >= 7.0 #209

Open glutengo opened 3 years ago

glutengo commented 3 years ago

It seems that there are some compatibility issues when using JHipster 7.0 or higher. In my case, 7.0.1 was used.

Reproduction steps:

Errors:

Has anyone experienced similar problems? I am happy to create a PR to fix these, but I would need some help on the last of the three findings because I have not found a solution for that so far.

Thank you!

pascalgrimaud commented 3 years ago

@glutengo : there is no release of this project since 1 year, so no release which is compatible with JHipster v7 cc @avdev4j

avdev4j commented 3 years ago

Correct, we need to release it as soon as possible :D.

For the moment @glutengo you can clone the project and install it locally by typing npm link in the generator-jhipster-module folder, then call it as you use to do.

Let me know if it works.

glutengo commented 3 years ago

@avdev4j thank you. I have done that and applied the two changes which I suggested as possible solutions in my initial description of this issue. I have however not found an alternative to the problematic call to this.installDependencies in the install phase. (see https://github.com/jhipster/generator-jhipster-module/blob/50a4aef43b6477d98fc1ebd7c778e7307a9cca4e/generators/app/templates/generators/app/index.js.ejs#L143) Do you (or anybody else) have any idea why this fails and what could be a possible workaround?