-
Notifications
You must be signed in to change notification settings - Fork 21
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
ERROR! An error occured while running jhipster-primeng-blueprint:languages#askForLanguages #66
Comments
@eanunezt try using jhipster import-jdl |
This happens when attempting to gtenerate a new application using jhipster. I ran into this attempting to generate an application using the release 8.0.0 version of jhipster (which I had to specify --skip-checks to do as it complains that this plugin targets only the beta1 version: jhipster --skip-checks --blueprints primeng-blueprint
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║ ? What is the base name of your application? jhipster |
Sorry I don't have time yet to update to 8.0.0 and I also can't provide an ETA please feel free to contribute |
Please help me with this error:
Node version: v18.17.1
jhipster: npm link from https://github.com/yelhouti/generator-jhipster/tree/composite-key
PS C:\Users\enune\Documents\git\jhipster.primeng\p3i.app.web2> npm install -g generator-jhipster-primeng-blueprint
....
PS C:\Users\enune\Documents\git\jhipster.primeng\p3i.app.web2> npm link generator-jhipster
added 1 package in 33s
1 package is looking for funding
run
npm fund
for detailsPS C:\Users\enune\Documents\git\jhipster.primeng\p3i.app.web2> jhipster --blueprint primeng-blueprint --skip-server
WARNING! Since JHipster v8, the jhipster command will not use the locally installed generator-jhipster.
If you want to execute the locally installed generator-jhipster, run: npx jhipster
INFO! No custom sharedOptions found within blueprint: generator-jhipster-primeng-blueprint at C:\Program Files\nodejs\node_modules\generator-jhipster-primeng-blueprint
INFO! No custom commands found within blueprint: generator-jhipster-primeng-blueprint at C:\Program Files\nodejs\node_modules\generator-jhipster-primeng-blueprint
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝
https://www.jhipster.tech
Welcome to JHipster v8.0.0-beta.1
WARNING! --blueprint option is deprecated. Please use --blueprints instead
Documentation for creating an application is at https://www.jhipster.tech/creating-an-app/
Application files will be generated in folder: C:\Users\enune\Documents\git\jhipster.primeng\p3i.app.web2
? What is the base name of your application? P3IWeb
? Which type of application would you like to create? Monolithic application (recommended for simple projects)
? Which Framework would you like to use for the client? Angular
? Do you want to generate the admin UI? Yes
? Would you like to use a Bootswatch theme (https://bootswatch.com/)? Materia
? Choose a Bootswatch variant navbar theme (https://bootswatch.com/)? Primary
? Would you like to enable internationalization support? Yes
? Please choose the native language of the application Spanish
ERROR! An error occured while running jhipster-primeng-blueprint:languages#askForLanguages
ERROR! ERROR! Cannot read properties of undefined (reading 'filter')
TypeError: Cannot read properties of undefined (reading 'filter')
at Object.choices (file:///C:/Users/enune/AppData/Roaming/nvm/v18.17.1/node_modules/generator-jhipster-primeng-blueprint/node_modules/generator-jhipster/dist/generators/languages/prompts.mjs:58:59)
at C:\Users\enune\Documents\git\jhipster.primeng\generator-jhipster\node_modules\run-async\index.js:91:25
at new Promise ()
at C:\Users\enune\Documents\git\jhipster.primeng\generator-jhipster\node_modules\run-async\index.js:32:19
at Module.fetchAsyncQuestionProperty (file:///C:/Users/enune/Documents/git/jhipster.primeng/generator-jhipster/node_modules/inquirer/lib/utils/utils.js:19:29)
at file:///C:/Users/enune/Documents/git/jhipster.primeng/generator-jhipster/node_modules/inquirer/lib/ui/prompt.js:95:17
at doInnerSub (C:\Users\enune\Documents\git\jhipster.primeng\generator-jhipster\node_modules\rxjs\dist\cjs\internal\operators\mergeInternals.js:22:31)
at outerNext (C:\Users\enune\Documents\git\jhipster.primeng\generator-jhipster\node_modules\rxjs\dist\cjs\internal\operators\mergeInternals.js:17:70)
at OperatorSubscriber._this._next (C:\Users\enune\Documents\git\jhipster.primeng\generator-jhipster\node_modules\rxjs\dist\cjs\internal\operators\OperatorSubscriber.js:33:21)
at Subscriber.next (C:\Users\enune\Documents\git\jhipster.primeng\generator-jhipster\node_modules\rxjs\dist\cjs\internal\Subscriber.js:51:18)
at C:\Users\enune\Documents\git\jhipster.primeng\generator-jhipster\node_modules\rxjs\dist\cjs\internal\operators\mergeInternals.js:28:28
at OperatorSubscriber._this._next (C:\Users\enune\Documents\git\jhipster.primeng\generator-jhipster\node_modules\rxjs\dist\cjs\internal\operators\OperatorSubscriber.js:33:21)
at Subscriber.next (C:\Users\enune\Documents\git\jhipster.primeng\generator-jhipster\node_modules\rxjs\dist\cjs\internal\Subscriber.js:51:18)
at C:\Users\enune\Documents\git\jhipster.primeng\generator-jhipster\node_modules\rxjs\dist\cjs\internal\observable\innerFrom.js:120:28
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
The text was updated successfully, but these errors were encountered: