I followed this example: https://docs.litium.com/documentation/litium-documentation/dashboard/how-to-create-your-own-widgets_3#Litium%208%20and%20newer%20versions
When i drag/drop the widget to the dashboard i get these errors and cannot get it to show. I have added the component to extensions.ts… and everything compiles. Any suggestions?
vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:523 ERROR Error: Uncaught (in promise): TypeError: Cannot read property ‘call’ of undefined
TypeError: Cannot read property ‘call’ of undefined
at webpack_require (manifest.js?v=A98408774B38038F9E1555D728BF8229436003C116208C9D097D8A2F6E55A4D4:1)
at Module…/Accelerator/extensions.ts (Accelerator.js:1)
at webpack_require (manifest.js?v=A98408774B38038F9E1555D728BF8229436003C116208C9D097D8A2F6E55A4D4:1)
at main.js?v=352095466AA2E6F9D9C43B1FD62132B7BF5A535CA9DDD1559C055319EC66900F:1
at ZoneDelegate.invoke (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at Object.onInvoke (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:1282)
at ZoneDelegate.invoke (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at Zone.run (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2529
at ZoneDelegate.invokeTask (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at resolvePromise (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2529)
at vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2529
at rejected (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2514)
at ZoneDelegate.invoke (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at Object.onInvoke (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:1282)
at ZoneDelegate.invoke (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at Zone.run (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2529
at ZoneDelegate.invokeTask (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at Object.onInvokeTask (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:1282)
defaultErrorLogger @ vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:523
5vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:523
ERROR Error: Uncaught (in promise): Error: No NgModule metadata found for ‘undefined’.
Error: No NgModule metadata found for ‘undefined’.
at NgModuleResolver.resolve (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2033)
at CompileMetadataResolver.getNgModuleMetadata (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2026)
at JitCompiler._loadModules (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2091)
at JitCompiler._compileModuleAndAllComponents (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2091)
at JitCompiler.compileModuleAndAllComponentsAsync (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2091)
at CompilerImpl.compileModuleAndAllComponentsAsync (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2184)
at DynamicComponentCreatorService. (main.js?v=352095466AA2E6F9D9C43B1FD62132B7BF5A535CA9DDD1559C055319EC66900F:1)
at step (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2514)
at Object.next (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2514)
at fulfilled (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2514)
at resolvePromise (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2529)
at vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2529
at rejected (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2514)
at ZoneDelegate.invoke (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at Object.onInvoke (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:1282)
at ZoneDelegate.invoke (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at Zone.run (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2529
at ZoneDelegate.invokeTask (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:2521)
at Object.onInvokeTask (vendor.js?v=E14E823ED408C5505672C318CDBB5A5E40B204FAABDEDC8A8B1D48C9895D11ED:1282)