Error: Unexpected value 'undefined' imported by the module

前端 未结 30 1855
礼貌的吻别
礼貌的吻别 2020-12-01 03:51

I\'m getting this error after migrating to NgModule, the error doesn\'t help too much, any advice please?

Error: Error: Unexpected value \'undefined\' import         


        
30条回答
  •  一整个雨季
    2020-12-01 04:40

    Make sure the modules don't import each other. So, there shouldn't be

    In Module A: imports[ModuleB]

    In Module B: imports[ModuleA]

提交回复
热议问题