Skip to content

Unable to generate project from CLI #65

Description

@snehalkulki

When i try to generate the code from CLI using vertex starter, I get the following error.

Choose the build tool maven
? Project Name myapp
? Project Description (Optional) fff
? Maven Group Id (Optional) com.ex
? Maven Artifact Id (Optional) myapp
? Project Version (Optional) 0.0.1-SNAPSHOT
? GraalVM native-image No
? Choose your language java
? Choose the project type OpenAPI Server
? OpenAPI file (YAML or JSON) swagger_OAS3.yaml
? Choose your additional dependencies io.vertx:vertx-service-proxy
Cannot find template for git/.gitignore
Error: Cannot find template for git/.gitignore
   at Object.compileAndAddToZip (C:\Users\Username\gitProjects\vertx-starter\src\utils.js:14:11)
   at generate (C:\Users\Username\gitProjects\vertx-starter\src\generators\OpenAPI_Server.js:25:13)
   at Promise.all.then.p (C:\Users\Username\gitProjects\vertx-starter\src\engine.js:131:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! create-vertx-app@0.0.5 cli: `node src/cli_entrypoint.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the create-vertx-app@0.0.5 cli script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

Could you please help on the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions