vimalavinisha / angular2-google-chart

Angular 2 google chart
MIT License
59 stars 45 forks source link

Unexpected value 'GoogleChart' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@Component annotation. #62

Open mozmo opened 6 years ago

mozmo commented 6 years ago

Unexpected value 'GoogleChart' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@Component annotation.

Has dependencies set to angular 4.1.3 - I am using 4.2.4

msamji commented 6 years ago

I'm having the same issue, it looks like this isn't the only library facing it. https://github.com/angular/angular/issues/15890

alexanto55 commented 6 years ago

Does anyone have the solution for this?

blastin commented 6 years ago

Does anyone have the solution for this? [2]

Chr1stian commented 6 years ago

Having the same issue, do you know what is happening @vimalavinisha ?

maliaga commented 6 years ago

Does anyone have the solution for this? [3]

ventouris commented 6 years ago

Noone?

jmanzanarez commented 6 years ago

You must put GoogleChart in imports, not in declarations in your app.module.ts.

Darth-Vader-2020 commented 6 years ago

I'm sorry. I'm not following. What exactly is the proper configuration for this? Clearly, the documentation is not correct, as following those steps has lead us here. Can you provide some additional detail?