-
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 [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import #65
Comments
@eanunezt please use jdl and version of jhipster compatible with this blueprint |
Help me, I couldn't create a jhipster project with this blueprint. JHipster v7.9.3 Error trace:
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║ Application files will be generated in folder: /home/jhipster/labs/app1 Documentation for creating an application is at https://www.jhipster.tech/creating-an-app/ ? Which type of application would you like to create? Monolithic application (recommended for simple projects) |
you need to use |
thanks now it is run well. |
Please Help me with this error:
Welcome to JHipster v7.9.3
WARNING! --blueprint option is deprecated. Please use --blueprints instead
DEBUG! No blueprint found for blueprint generator-jhipster-primeng-blueprint and app with namespace jhipster-primeng-blueprint:app subgenerator: falling back to default generator
Application files will be generated in folder: /home/jhipster/app2/myapp1
Documentation for creating an application is at https://www.jhipster.tech/creating-an-app/
If you find JHipster useful, consider sponsoring the project at https://opencollective.com/generator-jhipster
? Which type of application would you like to create? Monolithic application (recommended for simple projects)
? What is the base name of your application? myapp1
DEBUG! No blueprint found for blueprint generator-jhipster-primeng-blueprint and common with namespace jhipster-primeng-blueprint:common subgenerator: falling back to default generator
✖ An error occured while running jhipster:app#compose
ERROR! Directory import '/home/jhipster/app2/jhipster-primeng-blueprint/node_modules/generator-jhipster/generators/client' is not supported resolving ES modules imported from /home/jhipster/app2/jhipster-primeng-blueprint/generators/client/generator.mjs
root@jhipster:/home/jhipster/app2/myapp1#
Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/home/jhipster/app2/jhipster-primeng-blueprint/node_modules/generator-jhipster/generators/client' is not supported resolving ES modules imported from /home/jhipster/app2/jhipster-primeng-blueprint/generators/client/generator.mjs
Did you mean to import generator-jhipster/generators/client/index.js?
at new NodeError (node:internal/errors:387:5)
at finalizeResolution (node:internal/modules/esm/resolve:425:17)
at moduleResolve (node:internal/modules/esm/resolve:1006:10)
at defaultResolve (node:internal/modules/esm/resolve:1214:11)
at nextResolve (node:internal/modules/esm/loader:165:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:844:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:431:18)
at ModuleWrap. (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_UNSUPPORTED_DIR_IMPORT',
url: 'file:///home/jhipster/app2/jhipster-primeng-blueprint/node_modules/generator-jhipster/generators/client'
The text was updated successfully, but these errors were encountered: