angular创建组件报错:More than one module matches. Use the skip-import option to skip importing the component into the closest module or use the module option to specify a module.

 

 

More than one module matches. Use the skip-import option to skip importing the component into the closest module or use the module option to specify a module.

项目中有多个module,需要指定module新建

resolve:

angular cli 命令加上后缀:--module=app

 

posted @ 2022-02-17 10:38  sleepFiray  阅读(260)  评论(0)    收藏  举报