Quantcast
Channel: User Simon_Weaver - Stack Overflow
Viewing all articles
Browse latest Browse all 116

"Super constructor may only be called once" error with Angular component

$
0
0

I am getting the following error in Angular Super constructor may only be called once.

The component in question very definitely only has super() one time, and the line it's breaking on is the first line of the constructor.

enter image description here

I tried recompiling the app and still get the error on the page in question.

polyfills.js:8561        ERROR ReferenceError: Super constructor may only be called once    at new DynamicLottiePlayerComponent (pages_home.js:15905:5)    at NodeInjectorFactory.DynamicLottiePlayerComponent_Factory [as factory] (pages_home.js:16211:10)    at getNodeInjectable (vendor.js:79689:38)    at createRootComponent (vendor.js:90176:31)    at ComponentFactory.create (vendor.js:90030:19)    at ViewContainerRef.createComponent (vendor.js:100426:43)    at DynamicComponentPortalHostDirective.attachComponentPortal (vendor.js:61337:34)    at DynamicComponentPortalHostDirective.attach (vendor.js:60891:19)    at set portal [as portal] (vendor.js:61302:13)    at set renderedPageNode [as renderedPageNode] (pages_home.js:28322:23)

Viewing all articles
Browse latest Browse all 116

Trending Articles