Skip to content

Angular project creation crashes when git is not configured #83

@jambulud

Description

@jambulud

Describe the bug
ng project creation crashes when git is not configured

To Reproduce
Steps to reproduce the behavior:

  1. The fields "email" and "username" must be unset in git configuration
  2. Create a ng project with devonfw dashboard.

Expected behavior
When you do "ng new" it creates an empty project but it also tries to setup git. If email and username is missing in git configuration, it crashes

Screenshots

Desktop (please complete the following information):

  • OS: macOs, Windows 10, Linux (mint 19)

Smartphone (please complete the following information):

Additional context
The easiest solution is adding "--skip-git" to devon ng command.
Send it like other arguments to the backend, like the name, css, routing

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions