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

Error when generating a microservice application #337

Open
mraible opened this issue Mar 5, 2024 · 0 comments
Open

Error when generating a microservice application #337

mraible opened this issue Mar 5, 2024 · 0 comments

Comments

@mraible
Copy link
Contributor

mraible commented Mar 5, 2024

Describe the bug

I was able to select gateway as an application type and generate an application. However, when I try to generate a microservice, I get an error:

ERROR! An error occured while running jhipster-quarkus:angular#customize
ERROR! ERROR! Unable to find /Users/mraible/Downloads/micro/src/main/webapp/app/admin/configuration/configuration.component.html.
Error: Unable to find /Users/mraible/Downloads/micro/src/main/webapp/app/admin/configuration/configuration.component.html.
    at default.editFile (file:///Users/mraible/.nvm/versions/node/v20.11.0/lib/node_modules/generator-jhipster-quarkus/node_modules/generator-jhipster/dist/generators/base-core/generator.mjs:799:23)
    at default.customize (file:///Users/mraible/.nvm/versions/node/v20.11.0/lib/node_modules/generator-jhipster-quarkus/generators/angular/generator.js:11:22)
    at default.executeTask (file:///Users/mraible/.nvm/versions/node/v20.11.0/lib/node_modules/generator-jhipster-quarkus/node_modules/yeoman-generator/dist/actions/lifecycle.js:244:26)
    at env.queueTask.once (file:///Users/mraible/.nvm/versions/node/v20.11.0/lib/node_modules/generator-jhipster-quarkus/node_modules/yeoman-generator/dist/actions/lifecycle.js:218:56)
    at runLoop.add.once (file:///Users/mraible/.nvm/versions/node/v20.11.0/lib/node_modules/generator-jhipster-quarkus/node_modules/yeoman-environment/dist/environment-base.js:384:23)
    at Immediate.<anonymous> (/Users/mraible/.nvm/versions/node/v20.11.0/lib/node_modules/generator-jhipster-quarkus/node_modules/grouped-queue/lib/subqueue.js:48:34)
    at process.processImmediate (node:internal/timers:478:21)

To Reproduce
Steps to reproduce the behavior:

? What is the base name of your application? micro
? Which Framework would you like to use for the client? Angular
? Besides Jest/Vitest, which testing frameworks would you like to use? Cypress
? Do you want to generate the admin UI? Yes
? Would you like to use a Bootswatch theme (https://bootswatch.com/)? Default JHipster
? Which type of application would you like to create? Microservice application
? As you are running in a microservice architecture, on which port would like your server to run? It should be unique to
avoid port conflicts. 8081
? What is your default Java package name? com.mycompany.myapp
? Which type of authentication would you like to use? jwt
? Would you like to use Maven or Gradle for building the backend? Maven
? Which type of database would you like to use? SQL (SQL databases)
? Which production database would you like to use? PostgreSQL
? Which development database would you like to use? Same as production
? Do you want to use Hibernate 2nd level cache? Yes
? Would you like to enable internationalization support? Yes
? Please choose the native language of the application English
? Please choose additional languages to install
? Would you like to generate code coverage for Cypress tests? [Experimental] Yes
? Would you like to audit Cypress tests? Yes

Expected behavior

A microservice app should be generated.

Screenshots

Screenshot 2024-03-05 at 10 27 48 AM

Desktop (please complete the following information):

  • OS: macOS
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

1 participant