ncaught TypeError: (void 0) is not a function with import GooglChart
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
Is there a bug in the library or I am missing something?
I have this same issue, were you able to fix it?
me too take , could you solve problem?
https://stackoverflow.com/questions/45347637/ionic-2-google-charts-void-0-is-not-a-function
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 .
okay. you too please
I'm getting this error with [email protected] and [email protected]. Did anyone find a fix for this?
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).