Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jhipster8.0.0 --skip-server build compiled successfully bu AggregateError #24134

Closed
djamel2288 opened this issue Nov 7, 2023 · 6 comments
Closed

Comments

@djamel2288
Copy link

djamel2288 commented Nov 7, 2023

Overview of the issue

i was upgrading my jhipster to 8.0.0 then, when i tried to generate the clinet side only, and then start my project, i got this error msg AggregateError

Motivation for or Use Case

I couldn't start the project

Reproduce the error
  • jhipster --skip-server --auth=jwt --jhi-prefix=myJhi --entity-suffix=myJhi
  • npm start
JHipster Version(s)

8.0.0

JHipster configuration

jhipster info

    ██╗ ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗
    ██║ ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
    ██║ ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝

██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝
https://www.jhipster.tech
Welcome to JHipster v8.0.0

Welcome to the JHipster Information Sub-Generator

my-web-app@0.0.1-SNAPSHOT ***********
`-- generator-jhipster@8.0.0
JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "generator-jhipster": {
    "baseName": "chaSolutionsWebApp",
    "clientFramework": "angular",
    "clientTestFrameworks": [
      "cypress"
    ],
    "clientTheme": "flatly",
    "clientThemeVariant": "primary",
    "creationTimestamp": 1699366100411,
    "cypressAudit": true,
    "cypressCoverage": true,
    "devServerPort": 4200,
    "enableTranslation": true,
    "entities": [],
    "entitySuffix": "cha",
    "jhiPrefix": "cha",
    "jhipsterVersion": "8.0.0",
    "languages": [
      "en",
      "fr",
      "ar-ly"
    ],
    "microfrontend": null,
    "microfrontends": [],
    "monorepository": true,
    "nativeLanguage": "en",
    "skipCommitHook": true,
    "skipServer": true,
    "testFrameworks": [
      "cypress"
    ],
    "withAdminUi": true
  }
}
Environment and Tools

openjdk version "11.0.17" 2022-10-18 LTS
OpenJDK Runtime Environment Corretto-11.0.17.8.1 (build 11.0.17+8-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.17.8.1 (build 11.0.17+8-LTS, mixed mode)

git version 2.23.0.windows.1

node: v20.9.0
npm: 8.13.1

Docker version 24.0.6, build ed223bc

JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions

Congratulations, JHipster execution is complete!
If you find JHipster useful consider sponsoring the project https://www.jhipster.tech/sponsors/

Thanks for using JHipster!

  • [x ] Checking this box is mandatory (this is just to show you read everything)
Copy link
Contributor

github-actions bot commented Nov 7, 2023

JHipster has completed the sample check
.yo-rc.json: valid
Entities JDL: blank
Application: successfully generated
Frontend check: success
Backend check: success
E2E check: success

This check uses jhipster info output from the issue description to generate the sample.
Bug report that does not contain this information will be marked as invalid.

@djamel2288
Copy link
Author

I just downgraded my node js from latest to 18.18.2 LTS and every think OK

@mshima
Copy link
Member

mshima commented Nov 10, 2023

Not reproducible.

jhipster from-issue 24134 --force
n 20
cd ~/git/jhipster-samples/issues/24134
npm install
./gradlew
....
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

✔ Compiled successfully.
[Browsersync] Proxying: http://localhost:4200
[Browsersync] Access URLs:
 ------------------------------------
       Local: http://localhost:9000
    External: http://192.168.1.7:9000
 ------------------------------------

Perhaps windows specific?

@mraible
Copy link
Contributor

mraible commented Nov 10, 2023

I believe this happens with Node 20. Can you please try Node 18 and let us know if it works?

@mshima
Copy link
Member

mshima commented Nov 10, 2023

I believe this happens with Node 20. Can you please try Node 18 and let us know if it works?

@mraible I've used node 20.
I updated the steps I’ve used.

@mshima
Copy link
Member

mshima commented Apr 26, 2024

I don’t see this erro in CI for a while. I suppose it’s fixed.

@mshima mshima closed this as completed Apr 26, 2024
@mraible mraible added this to the 8.4.0 milestone Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants