angular2-google-chart icon indicating copy to clipboard operation
angular2-google-chart copied to clipboard

ncaught TypeError: (void 0) is not a function with import GooglChart

Open singhrasster opened this issue 8 years ago • 6 comments

I followed this to import GoogleChart in app.module.ts https://www.npmjs.com/package/angular2-google-chart But, when I import it, I get the following error:

ncaught TypeError: (void 0) is not a function at eval (eval at (app.js:5614), :1:9) at Object. (app.js:5614) at webpack_require (polyfills.js:53) at eval (eval at (app.js:5062), :80:41) at Object. (app.js:5062) at webpack_require (polyfills.js:53) at eval (eval at (app.js:3059), :4:20) at Object. (app.js:3059) at webpack_require (polyfills.js:53) at Object. (app.js:5580) at webpack_require (polyfills.js:53) at webpackJsonpCallback (polyfills.js:24)

Is there a bug in the library or I am missing something?

singhrasster avatar Jul 09 '17 19:07 singhrasster

I have this same issue, were you able to fix it?

Abiwax avatar Jul 22 '17 14:07 Abiwax

me too take , could you solve problem?

https://stackoverflow.com/questions/45347637/ionic-2-google-charts-void-0-is-not-a-function

cetinahmetemre avatar Jul 28 '17 11:07 cetinahmetemre

No, I could not find a solution to this. If you find something, please post the solution here if possible so it can help in future.

On Fri, Jul 28, 2017 at 6:29 AM, Ahme Emre ÇETİN [email protected] wrote:

me too take , could you solve problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vimalavinisha/angular2-google-chart/issues/51#issuecomment-318628967, or mute the thread https://github.com/notifications/unsubscribe-auth/AC7rUiPMKJ3DVq5E-2ZSRHLEJiQLZOA7ks5sScYdgaJpZM4OSKZd .

singhrasster avatar Jul 28 '17 12:07 singhrasster

okay. you too please

cetinahmetemre avatar Jul 28 '17 12:07 cetinahmetemre

I'm getting this error with [email protected] and [email protected]. Did anyone find a fix for this?

randbrown avatar Jul 31 '17 20:07 randbrown

I found a fix by taking the angular2-google-chart.directive.ts file and adding it directly to a component in my project (Ionic 3.5.0 at the moment). I suspect the main problem was that it just needed to be recompiled with my version of TypeScript (2.3.4 at the moment).

chorpler avatar Aug 07 '17 19:08 chorpler