Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
[webpack-cli] TypeError: compiler.plugin is not a function
at Plugin.apply (/Users/macbook/Documents/projets/gps/node_modules/browser-sync-webpack-plugin/index.js:14:12)
at createCompiler (/Users/macbook/Documents/projets/gps/node_modules/webpack/lib/webpack.js:73:12)
at create (/Users/macbook/Documents/projets/gps/node_modules/webpack/lib/webpack.js:134:16)
at webpack (/Users/macbook/Documents/projets/gps/node_modules/webpack/lib/webpack.js:158:32)
at WebpackCLI.f [as webpack] (/Users/macbook/Documents/projets/gps/node_modules/webpack/lib/index.js:58:16)
at WebpackCLI.createCompiler (/Users/macbook/Documents/projets/gps/node_modules/webpack-cli/lib/webpack-cli.js:2191:23)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Command.<anonymous> (/Users/macbook/Documents/projets/gps/node_modules/@webpack-cli/serve/lib/index.js:106:30)
at async Promise.all (index 1)
at async Command.<anonymous> (/Users/macbook/Documents/projets/gps/node_modules/webpack-cli/lib/webpack-cli.js:1672:7)
anybody have a little project for learning
Today when I tried to create monolith app using jhipster with react, able to see below error:
ERROR in ./src/main/webapp/app/app.tsx 38:6-12
TS2786: 'Router' cannot be used as a JSX component.
Its instance type 'BrowserRouter' is not a valid JSX element.
could you please let me know what will be issue, thanks in advance
I mean able to see multiple errors like above, related to Button, Row, Cell etc
Hello, does anybody have the same problem, that oracle is missing in the SQL selection?
I cant find any help on google or stackoverflow.
Already reinstalled node/npm and jhipster.
Nevermind, when selecting spring webflux, oracle is no option.
Sean Young
The findOneWithEagerRelationships defined in * repositoryinternalimpl.java call "return findbyid (ID);", Why do you need to define an additional findOneWithEagerRelationships method?
Hello all ! I have an entity A linked (one to many) to another one (B), and on the update form of entity A, the list of entity B doesn't show all B entities (I'm using Angular on the front side). Has anybody solve this problem ? Do I have to load all B entities into the list ?
Hi I can answer that
OneToMany relationships are usually lazily loaded which mean that child entities don't come , you need to switch the fetch type to eager and allow jackson to read the property by removing it from the JsonIgnoreProperties
4 replies
or you can just load the list with the entities which gives you better control over which data goes where , and as a consequence keep performance issues to a minimum

I have a simple question that :
How do Maven profiles relate to Spring profiles?

Why don't I see syntax like this :
active: @profiles.active@

Is there a Maven plugin that does this?
Thank you for your attention to this issue
Đào Đức Minh
Hello everyone I am new on jhipster. I am doing demo jhipster and have a error. Can you help me?

<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/account to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/authenticate to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

Jonathan Alfonso

Hi, I'm new to JHipster. I downloaded a blueprint et personalized it, but when I try to launch a project with my blueprint, I get an error message and can't find how to fix it. Does someone have an idea? Thanks!

INFO! Using bundled JHipster
throw err;

AssertionError [ERR_ASSERTION]: Error on the registered namespace jhipster-my-blueprint:app, make sure your folder is called generator-jhipster.
at C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\environment-builder.js:118:7
at Array.forEach (<anonymous>)
at EnvironmentBuilder._lookupJHipster (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\environment-builder.js:116:94)
at EnvironmentBuilder.prepare (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\environment-builder.js:89:10)
at buildJHipster (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\program.js:250:44)
at runJHipster (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\program.js:269:10)
at Object.<anonymous> (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\cli.js:23:18)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at requireCLI (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\jhipster.js:74:3)
at Object.<anonymous> (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\jhipster.js:48:1)
at Module._compile (node:internal/modules/cjs/loader:1105:14) {
generatedMessage: false,
actual: false,
expected: true,
operator: '=='

Đào Đức Minh

Hello everyone I am new on jhipster. I am doing demo jhipster and have a error. Can you help me?

<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/account to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/authenticate to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

1 reply
Hello, what component in jhipster creates the Management UI in React/Vue etc? Can that be used retrospectively in another non jhipster microservice? I want to create a CRUD admin UI rather than manually doing SQL updates on the DB
Nariman ZIDANE
Hello everyone,
after the upgrade of the jhipster version from 6.10 to 7.8.1 I m facing some problems in particular in the entities and the relations between them, for example in an entity OrganizationDTO we had "Long countryId" and "String countryName", but with the new version 7.8.1 in we have "Country country",
how to have only the id and the name and not the object, thanks in advance
I'm new to jhipster. I'm wondering if I need to include all entities in the gateway as suggested by jdl microservice example?
unick m
Hi, I created the jhipster application with mongodb and elasticsearch. I created the container of the working jhipster project in dockerhub and I tried to deploy that container in openshift. I can not access the webpage of the application. For instance, I can see at localhost:8080 when I run it locally.
is there anyway to increase the time before an api throws a gateway timeout for a monolith application?
Kevin Madhu
Hi everyone
I've got no idea what's going on. I'm trying to deploy my microservices created using jhipster to aws and the services do not seem to respond to environment properties.
I tried adding SPRING_DATASOURCE_URL, SPRING_DATASOURCE_USERNAME and SPRING_DATASOURCE_PASSWORD to the environment variables as well as jhipster-registry config repo, but the service is still trying to connect to localhost:5432.
Any idea, why?
Between, in the jhipster-registry config repo, I added the config to ${service-name}/application-prod.yml
4 replies
Kevin Madhu
I'm not really into baking in these values while creating the docker image, so I was hoping I could solve this issue without doing that.
Kevin Madhu
Another question...is the microservice gateway supposed to connect to jhipster-registry? It's always shown as "DOWN" in eureka while other services seems to play well with it.
Daniel Koh
Is there a reason why the default .gitignore file doesn't include dist?
1 reply
Hello, I’ve been trying to create a node server from where i can pass a jdl file to the env to generate the application. For example:
Skieler C
I'm currently running an older version of Jhispter 6.10.1 to have the ELK stack as an option with docker-compose. The Jhipster and ELK are running, but I'm not sure how to see my entity entries in Kibana. Does anyone have any tips?
hi everyone. i have a very banal question... :D Do the bounties for bugs/merged pull request become invalid after a certain amount of time?
Once I generate frontend in separate folder (jhipster --skip-server) How to run frontend in development afterwards?
10 replies
Alessio Cruciani
Has anyone in here implemented Azure 2.0 SAML authentication in a Jhipster project? Any resources around?
1 reply
is is jhipster dies now
Hi, how i do work Jhipster(last version) using a Oracle database, and what are the steps to make it works?
1 reply
Salome J Marquez
Hi everyon. Can I combine the Quarkus and Kotlin blueprints to generate a microservice that uses Quarkus instead of Spring and it's written in Kotlin?
Jay Bourland
Hi all - is there any documentation for the architecture decisions enforced in the TechnicalArchitectureTest? In particular, the Client layer not being accessed by any other layer is at odds with how we use that package.
1 reply
Prashanth Srinivasan
Hello everyone. How do I create a JHipster application without any caching enabled ( I believe the default is Ehcache ), I tried poking around the documentation but could not find anything. I did come across this repo: https://github.com/jhipster/jhipster-sample-app-nocache but it does not mention how to generate it, any help highly appreciated :)
1 reply
hello i'm having an issue in using jhipster-entity-audit generator . I installed the generator-jhipster-entity-audit by using this command
"npm install -g generator-jhipster-entity-audit"
and then I installed "yo" by using this command "npm install -g yo" .
but this command "yo jhipster-entity-audit" generates this error : use of deprecated folder mapping "./generators/" in the "exports" field module resolution of the package at c:\users\mm\onedrive\bureau\awtarapp\node_modules\generator-jhipster\package.json. update this package.json to use a subpath pattern like "./generators/*". Can someone help me plzz or what's the correct steps to integrate this module ?
John Poole
Is there documentation for the generate-blueprint cmd added in 7.7.0?

I have the below JDL that I am using to create the jhipster application.

    entity AuthClient(auth_client) {
    msisdn String required maxlength(255),
    email String required unique maxlength(255),
    password String required maxlength(255),
    lastLogin Instant,
    createdAt Instant required,
    createdBy Integer,
    updatedAt Instant,
    updatedBy Integer,
    isDeleted Boolean required,
    deletedAt Instant,
    deletedBy Integer

entity AuthToken(auth_token) {
    token String required maxlength(255),
    appId Integer required,
    appVersionName String maxlength(255),
    clientId Integer required,
entity ClientProfile(client_profile) {  
    fName String required maxlength(255),
    mName String maxlength(255),
    lName String required maxlength(255),
    gender Integer,
    clientId Integer required

// Relations
relationship OneToMany {
AuthClient{AuthToken(clientId)} to AuthToken{AuthClient}
relationship OneToOne{
 ClientProfile{AuthClient} to AuthClient{ClientProfile(clientId)},

// Options
service * with serviceClass
paginate * with pagination
dto * with mapstruct
filter *

However, instead of using the variable clientId as the foreign key it creates another field Auth Client in the database.

How do I use the clientId as the foreign key in this application and not the generated new field Auth Client

2 replies
anyone know of a way to get column headers in the data tables to be sticky in react redux?
1 reply
Juzer Ali
Can anyone suggest workaround to this issue? Creating an entity with a 1-to-1 relationship with User entity results into an error. Suggested workaround is to use latest master. But that results in issues with react components.
Hello, I have an application that was generated on Windows. How can I migrate it to Mac? When I try to run ./mvnw, I got an error saying "cannot execute file node.exe"
3 replies