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

I can't run jhipster-ionic blueprint v8.1.0 #1069

Closed
diegohsi opened this issue Mar 3, 2024 · 1 comment
Closed

I can't run jhipster-ionic blueprint v8.1.0 #1069

diegohsi opened this issue Mar 3, 2024 · 1 comment

Comments

@diegohsi
Copy link

diegohsi commented Mar 3, 2024

My SO: MacOS 13.6.3 (22G436)

I can't run jhipster-ionic blueprint v8.1.0

I can download via NPM, but when I run the ionic blueprint it always shows the version "welcome to Jhipster v7.9.3".

As much as I clear the cache and install the version directly via npm
npm install -g generator-jhipster-ionic@8.1.0 always shows this message.

But when I list via npm -g list I see 8.1.0 installed locally.

➜  ionicapp npm -g list
/Users/gnsilva/.nvm/versions/node/v20.11.1/lib
├── corepack@0.23.0
├── generator-jhipster-ionic@8.1.0
├── generator-jhipster-migrate@0.0.4
├── generator-jhipster@8.1.0
└── npm@10.5.0

If I run jhipster jdl bug-tracker.jh --blueprints ionic I get a blueprints incompatibility error.

INFO! Generating jdls bug-tracker.jh
ERROR! An error occurred while running jhipster:bootstrap#validateBlueprint
ERROR! ERROR! The installed generator-jhipster-ionic blueprint targets JHipster v7.9.3 and is not compatible with this JHipster version. Either update the blueprint or JHipster. You can also disable this check using --skip-checks at your own risk
Error: The installed generator-jhipster-ionic blueprint targets JHipster v7.9.3 and is not compatible with this JHipster version. Either update the blueprint or JHipster. You can also disable this check using --skip-checks at your own risk
     at BootstrapGenerator._checkJHipsterBlueprintVersion (file:///Users/gnsilva/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/dist/generators/base/generator.mjs:550:19)
     at file:///Users/gnsilva/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/dist/generators/bootstrap/generator.mjs:65:30
     at Array.forEach (<anonymous>)
     at BootstrapGenerator.validateBlueprint (file:///Users/gnsilva/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/dist/generators/bootstrap/generator.mjs:64:52)
     at BootstrapGenerator.executeTask (file:///Users/gnsilva/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/dist/actions/lifecycle.js:244:26 )
     at env.queueTask.once (file:///Users/gnsilva/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/dist/actions/lifecycle.js:218 :56)
     at runLoop.add.once (file:///Users/gnsilva/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/yeoman-environment/dist/environment-base.js:384 :23)
     at Immediate.<anonymous> (/Users/gnsilva/.nvm/versions/node/v20.11.1/lib/node_modules/generator-jhipster/node_modules/grouped-queue/lib/subqueue.js:48:34)
     at process.processImmediate (node:internal/timers:478:21)
@mraible
Copy link
Collaborator

mraible commented Jun 3, 2024

Should be fixed on the main branch, and in the v8.2.0 release.

@mraible mraible closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants