diego-d5000 / PowerBI-Angular2

Angular (Angular 2, Angular io) components based on "PowerBI-Angular" and "PowerBI-Javascript" to use PowerBI Embedded Features
10 stars 10 forks source link

Error in js bundle #3

Open talorlik opened 6 years ago

talorlik commented 6 years ago

Hi,

When trying to use this module there's an error in one of the bundle js files:

TypeError: Cannot read property 'catch' of undefined at o.<anonymous> (reportembed.bundle.min.js:61) at a (reportembed.common.bundle.min.js:16) at Object.next (reportembed.common.bundle.min.js:16) at n (reportembed.common.bundle.min.js:16) at reportembed.externals.bundle.min.js:sourcemap:606 at m.$eval (reportembed.externals.bundle.min.js:sourcemap:620) at m.$digest (reportembed.externals.bundle.min.js:sourcemap:617) at reportembed.externals.bundle.min.js:sourcemap:620 at e (reportembed.externals.bundle.min.js:sourcemap:519) at reportembed.externals.bundle.min.js:sourcemap:522 (anonymous) @ reportembed.externals.bundle.min.js:sourcemap:593 (anonymous) @ reportembed.externals.bundle.min.js:sourcemap:565 r.onReject @ powerbiportal.dependencies.bundle.min.js:16 (anonymous) @ powerbiportal.dependencies.bundle.min.js:16 n @ reportembed.common.bundle.min.js:16 (anonymous) @ reportembed.externals.bundle.min.js:sourcemap:606 $eval @ reportembed.externals.bundle.min.js:sourcemap:620 $digest @ reportembed.externals.bundle.min.js:sourcemap:617 (anonymous) @ reportembed.externals.bundle.min.js:sourcemap:620 e @ reportembed.externals.bundle.min.js:sourcemap:519 (anonymous) @ reportembed.externals.bundle.min.js:sourcemap:522 t.invokeTask @ reportembed.bundle.min.js:300 r.runTask @ reportembed.bundle.min.js:300 e.invokeTask @ reportembed.bundle.min.js:300 i.isUsingGlobalCallback.invoke @ reportembed.bundle.min.js:300 n @ reportembed.bundle.min.js:272 setTimeout (async) o @ reportembed.bundle.min.js:272 t.scheduleTask @ reportembed.bundle.min.js:300 r.scheduleTask @ reportembed.bundle.min.js:300 r.scheduleMacroTask @ reportembed.bundle.min.js:300 (anonymous) @ reportembed.bundle.min.js:272 o.(anonymous function) @ reportembed.bundle.min.js:272 k.defer @ reportembed.externals.bundle.min.js:sourcemap:522 $evalAsync @ reportembed.externals.bundle.min.js:sourcemap:620 (anonymous) @ reportembed.externals.bundle.min.js:sourcemap:605 e @ reportembed.externals.bundle.min.js:sourcemap:605 then @ reportembed.externals.bundle.min.js:sourcemap:606 r.onResolve @ powerbiportal.dependencies.bundle.min.js:16 (anonymous) @ powerbiportal.dependencies.bundle.min.js:16 (anonymous) @ reportembed.common.bundle.min.js:16 r @ powerbiportal.dependencies.bundle.min.js:16 l @ reportembed.common.bundle.min.js:16 (anonymous) @ reportembed.common.bundle.min.js:16 r @ powerbiportal.dependencies.bundle.min.js:16 __awaiter @ reportembed.common.bundle.min.js:16 o.validateLoad @ reportembed.bundle.min.js:62 (anonymous) @ reportembed.bundle.min.js:61 a @ reportembed.common.bundle.min.js:16 (anonymous) @ reportembed.common.bundle.min.js:16 (anonymous) @ reportembed.common.bundle.min.js:16 r @ powerbiportal.dependencies.bundle.min.js:16 __awaiter @ reportembed.common.bundle.min.js:16 o.handleLoadRequest @ reportembed.bundle.min.js:61 (anonymous) @ reportembed.bundle.min.js:61 a @ reportembed.common.bundle.min.js:16 (anonymous) @ reportembed.common.bundle.min.js:16 (anonymous) @ reportembed.common.bundle.min.js:16 r @ powerbiportal.dependencies.bundle.min.js:16 __awaiter @ reportembed.common.bundle.min.js:16 (anonymous) @ reportembed.bundle.min.js:61 i @ powerbi-router.min.js:2 handle @ powerbi-router.min.js:2 (anonymous) @ windowPostMessageProxy.min.js:2 e.onMessageReceived @ windowPostMessageProxy.min.js:2 windowMessageHandler @ windowPostMessageProxy.min.js:2 t.invokeTask @ reportembed.bundle.min.js:300 r.runTask @ reportembed.bundle.min.js:300 e.invokeTask @ reportembed.bundle.min.js:300 h @ reportembed.bundle.min.js:272 d @ reportembed.bundle.min.js:272 postMessage (async) WindowPostMessageProxy.postMessage @ powerbi.js:5771 HttpPostMessage.send @ powerbi.js:6050 HttpPostMessage.post @ powerbi.js:6006 Embed.load @ powerbi.js:505 (anonymous) @ powerbi.js:716 ZoneDelegate.invokeTask @ zone.js:421 onInvokeTask @ core.js:4724 ZoneDelegate.invokeTask @ zone.js:420 Zone.runTask @ zone.js:188 ZoneTask.invokeTask @ zone.js:496 invokeTask @ zone.js:1517 globalZoneAwareCallback @ zone.js:1543

Please can you provide a fix or a solution to this?

Regards, Tal.