Angular Error: Multiple constructor implementations are not allowed.

Multiple constructor implementations are not allowed.

Most probably you are trying to add two constructors inside the same component, this can be fixed by adding both in the same constructor.

Solution:

Don't use it like below:

constructor (private httpsService: HttpsService) { }
constructor (private popup:Popup) { }

 

Instead:

constructor (private popup:Popup, private httpsService: HttpsService) { }


Subscribe to
for video tutorials updates