Skip to content

ng generate route issue: angular-cli.json file missing #369

Closed
@streamlinenz

Description

@streamlinenz

I have a strange issue with using generator for routes.
I am following all steps to generate a new route in my blank angular2 project.
Having generated the project and nothing else I am typing:
ng g route hero

What I get is some silly reference to a supposedly missing file angular-cli.json
Now I absolutely cannot find any "how-to" related to this file.
So what gives?
How do I generate this file?
Do I actually need it?
Is this a bug or a feature?

Please look into it or update readme accordingly.

Thanks,
Damian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions