Multiple components match node with tagname app-lobby

后端 未结 7 1121
刺人心
刺人心 2021-02-14 05:51

the code was running fine on angular version 8.3.4 but when i updated it to the latest version of angular ( 9 ) i got the following error

following is t

7条回答
  •  情深已故
    2021-02-14 06:19

    Probably you have more than one component with the same selector tag name app-lobby

    ...
    @Component({
       selector: 'app-lobby',
    ...
    

    Please double check to ensure that only one component selector tag name is app-lobby.

提交回复
热议问题