Can't resolve all parameters for ApplicationModule: (?)

后端 未结 4 1595
别那么骄傲
别那么骄傲 2021-01-20 06:43

I just migrated an application module to be an importable library.

I\'m trying to make the tests work correctly, just as they worked before, but I get this error:

4条回答
  •  自闭症患者
    2021-01-20 06:48

    You have a dependency in your app module that you did not provide or import in any way. You can determine which by looking at your ApplicationModule constructor method - it likely has some service or similar injected, and you didn't provide it there in imports array of NgModule metadata.

提交回复
热议问题