Skip to content

"No module files found" when using cli to generate components #5087

@gloomylumi

Description

@gloomylumi

OS

OSX Sierra

Versions.

@angular/cli: 1.0.0-rc.0
node: 7.1.0

Repro steps.

ng g component [component-name]
installing component
Error locating module for declaration
	SilentError: No module files found

I tried everything mentioned in ##2962 to no avail. I moved app.module.ts all over the place and attempted to generate component from varying directory paths, same error.

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