Closed lucaprieto closed 4 months ago
This issue is stale because it has been open for too long without any activity. Due to the moving nature of jhipster generated application, bugs can become invalid. If this issue still applies please comment otherwise it will be closed in 7 days
This issue is stale because it has been open for too long without any activity. Due to the moving nature of jhipster generated application, bugs can become invalid. If this issue still applies please comment otherwise it will be closed in 7 days
Overview of the issue
I created a project with jhipster and chose microservices, then I ran "jhipster openapi-client" and the error always appeared:
After looking at the code I saw that the .yo-rc.json file did not have the "clientPackageManager" variable
Reproduce the error
Create a project for Microsservices and than execute: jhipster openapi-client
Suggest a Fix
In file .yo-rx.json insert the line:
"clientPackageManager": "npm"
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
openjdk version "18" 2022-03-22 OpenJDK Runtime Environment (build 18+36-2087) OpenJDK 64-Bit Server VM (build 18+36-2087, mixed mode, sharing)
git version 2.20.1
node: v14.19.3
npm: 6.14.17
Docker version 20.10.18, build b40c2f6
Docker Compose version v2.11.1
Browsers and Operating System
Chrome Linux - Debian