Skip to content

Specify the module flag when detecting more than one module to apply imports to #17097

@fireflysemantics

Description

@fireflysemantics

Current:

ole@mkt:~/ ng g c home 
More than one module matches. Use skip-import option to skip importing the component into the closest module.

Wanted:

More than one module matches. Use skip-import option to skip importing the component into the closest module, or specify the module.  For example ng g c new-component --module app

Related SO Issue:
https://stackoverflow.com/questions/46174863/error-more-than-one-module-matches-use-skip-import-option-to-skip-importing-th

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions