AngularCli新建组件报错(More than one module matches. Use skip-import ...)

版权声明: https://blog.csdn.net/qq_23521659/article/details/83472080

新建组件报错:

报错内容:

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

原因:

项目中存在多个module,需要指定某个module新建;

解决办法:

加后缀  --module=app

猜你喜欢

转载自blog.csdn.net/qq_23521659/article/details/83472080
今日推荐