Error: More than one module matches. Use skip-import option to skip importing the component into the closest module

后端 未结 3 1900
面向向阳花
面向向阳花 2020-12-22 14:52

When I try to create a component in the angular cli, it\'s showing me this error. How do I get rid of it ?

Error: More than one module matches. Use sk

3条回答
  •  一生所求
    2020-12-22 15:29

    Try This: It is working for me

    ng generate component componentName --module=app.module

提交回复
热议问题