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

Generating using React with Jhipster v6.10.5 fails on axios 0.18.0 transient dependency #13407

Closed
Strat1987 opened this issue Jan 4, 2021 · 1 comment

Comments

@Strat1987
Copy link

JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "generator-jhipster": {
    "promptValues": {
      "packageName": "com.mycompany.myapp",
      "nativeLanguage": "en"
    },
    "jhipsterVersion": "6.10.5",
    "applicationType": "monolith",
    "baseName": "Downloads",
    "packageName": "com.mycompany.myapp",
    "packageFolder": "com/mycompany/myapp",
    "serverPort": "8080",
    "authenticationType": "jwt",
    "cacheProvider": "no",
    "websocket": false,
    "databaseType": "sql",
    "devDatabaseType": "h2Disk",
    "prodDatabaseType": "mysql",
    "searchEngine": false,
    "messageBroker": false,
    "serviceDiscoveryType": false,
    "buildTool": "maven",
    "enableSwaggerCodegen": false,
    "jwtSecretKey": "YourJWTSecretKeyWasReplacedByThisMeaninglessTextByTheJHipsterInfoCommandForObviousSecurityReasons",
    "embeddableLaunchScript": false,
    "useSass": true,
    "clientPackageManager": "npm",
    "clientFramework": "react",
    "clientTheme": "none",
    "clientThemeVariant": "",
    "creationTimestamp": 1609755407496,
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "entitySuffix": "",
    "dtoSuffix": "DTO",
    "otherModules": [],
    "enableTranslation": true,
    "nativeLanguage": "en",
    "languages": ["en", "nl"],
    "blueprints": []
  }
}
JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions

Environment and Tools

openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9.1+1)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)

git version 2.30.0

node: v15.5.0

npm: 7.3.0

yeoman: 2.0.2

yarn: 1.22.10

Docker version 20.10.0, build 7287ab3

docker-compose version 1.27.4, build 40524192

Overview of the issue

running jhipster generation using v6.10.5 fails when choosing react as frontend framework

Motivation for or Use Case

attempt to upgrade from v6.8.0 to v6.10.5

Reproduce the error

run
jhipster

choose all defaults and react as frontend framework

Related issues
Suggest a Fix

https://github.com/jhipster/react-jhipster/blob/main/package.json seems to need some updates on transient dependency versions

JHipster Version(s)

Jhipster 6.10.5

JHipster configuration
@ruddell
Copy link
Member

ruddell commented Jan 4, 2021

Support for npm v7 is tracked in #12747

Please use an LTS version of Node and NPM.

Latest LTS Version: 14.15.3 (includes npm 6.14.9)
https://nodejs.org/en/download/
https://nodejs.org/en/about/releases/

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

3 participants