Skip to content

[7 beta] ng new error: "new command requires to be run outside of a project, but a project definition was found", doesn't say where the stray file is #12198

Closed
@SanderElias

Description

@SanderElias

Bug Report or Feature Request (mark with an x)

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

Command (mark with an x)

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

Versions

Angular CLI: 7.0.0-beta.2
Node: 10.10.0
OS: linux x64

(ng new doesn't have other versions yet)

Repro steps

ng new newProjecct

The log given by the failure

image

Desired functionality

A new project ;)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions