Angular 6 - can't resolve all parameters for AppComponent

前端 未结 10 891
时光取名叫无心
时光取名叫无心 2021-02-07 11:59

I am trying to build an application with Angular 6 and I am still setting everything up. But it seems there is something wrong with the dependency injection in my app.

10条回答
  •  死守一世寂寞
    2021-02-07 12:29

    I received the same error on Angular 8 app

    Can't resolve all parameters for AppComponent: (?,?,?)

    after changing 1 parameter type in the constructor().

    I solved the problem by stop and restarting the app.

提交回复
热议问题