Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
600
IgGrid Error - Can not read property 'prototype' of undefined
posted

Hello,

I have a problem initializing IgGridComponent into my Angular2 Application. 

my package.json has following packages,

"ignite-ui": "0.16.2-PreRelease.2",
"igniteui-angular2": "1.1.0"

while initializing it, it throws following exception, 

zone.js:260 Uncaught EXCEPTION: Error in ./SelectionDialogComponent class SelectionDialogComponent - inline template:29:32
ORIGINAL EXCEPTION: TypeError: Cannot read property 'prototype' of undefined
ORIGINAL STACKTRACE:
TypeError: Cannot read property 'prototype' of undefined
at IgGridComponent.IgControlBase (http://localhost:41110/libs/igniteui-angular2/igniteui.angular2.js:218:64)
at IgGridComponent.IgGridBase [as constructor] (http://localhost:41110/libs/igniteui-angular2/igniteui.angular2.js:424:28)
at new IgGridComponent (http://localhost:41110/libs/igniteui-angular2/igniteui.angular2.js:525:28)
at DebugAppView._View_SelectionDialogComponent4.createInternal (SelectionDialogComponent.template.js:707:31)
at DebugAppView.AppView.create (http://localhost:41110/libs/@angular/core//bundles/core.umd.js:11996:25)
at DebugAppView.create (http://localhost:41110/libs/@angular/core//bundles/core.umd.js:12207:48)
at TemplateRef_.createEmbeddedView (http://localhost:41110/libs/@angular/core//bundles/core.umd.js:10274:18)
at ViewContainerRef_.createEmbeddedView (http://localhost:41110/libs/@angular/core//bundles/core.umd.js:8344:39)
at NgIf.set [as ngIf] (http://localhost:41110/libs/@angular/common//bundles/common.umd.js:1741:41)
at DebugAppView._View_SelectionDialogComponent0.detectChangesInternal (SelectionDialogComponent.template.js:288:26)
ERROR CONTEXT:
[object Object]

Could you please help me with this? Is there a problem inside package? 

Awaiting for your help.

Regards,

Jeetendra