美文网首页我爱编程
Angular报错记录 - Error: More than o

Angular报错记录 - Error: More than o

作者: 飞鱼YE | 来源:发表于2018-03-06 16:37 被阅读0次

angular4使用命令创建组件失败:

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

根据命令提示使用skip-import参数跳过将组件导入到最近的模块

ng g c test --skip-import

相关文章

网友评论

    本文标题:Angular报错记录 - Error: More than o

    本文链接:https://www.haomeiwen.com/subject/zecrfftx.html