Skip to content

generating 3rd application to a workspace fails due to an projects/e2e directory collision #12491

Closed
@IgorMinar

Description

@IgorMinar

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Angular CLI: 7.0.0-rc.1
Node: 8.9.4
OS: darwin x64
Angular: 7.0.0-rc.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.9.0-rc.1
@angular-devkit/build-angular     0.9.0-rc.1
@angular-devkit/build-optimizer   0.9.0-rc.1
@angular-devkit/build-webpack     0.9.0-rc.1
@angular-devkit/core              7.0.0-rc.1
@angular-devkit/schematics        7.0.0-rc.1
@angular/cli                      7.0.0-rc.1
@ngtools/webpack                  7.0.0-rc.1
@schematics/angular               7.0.0-rc.1
@schematics/update                0.9.0-rc.1
rxjs                              6.3.3
typescript                        3.1.1
webpack                           4.19.1

Repro steps

ng new my-proj
cd my-project
ng generate app another-app
ng generate app yet-another-app
> ...
> ERROR! projects/e2e/... already exists.

The log given by the failure

Desired functionality

the e2e directory should be called <app-name>-e2e rather than e2e.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions