cornflourblue / jw-angular-social-buttons

Angular Social Sharing Buttons
MIT License
17 stars 16 forks source link

[BUG] Prod build doesn't work with Angular 6.1.6 #3

Closed Dzhuneyt closed 5 years ago

Dzhuneyt commented 5 years ago
ERROR in : Unexpected value 'JwSocialButtonsModule in C:/htdocs/project/node_modules
/jw-angular-social-buttons/lib/jw-angular-social-buttons.module.d.ts' imported by the m
odule 'AppModule in C:/htdocs/project/src/app/app.module.ts'. Please add a @NgModule
 annotation.

This is the error that I get after following the examples in the article: http://jasonwatmore.com/post/2018/06/01/angular-2-social-sharing-buttons-for-facebook-google-plus-twitter-linkedin-and-pinterest

KewalMehta commented 5 years ago

Any update on above issue ? @Dzhuneyt did u resolved it ? I am also facing the same issue.

cornflourblue commented 5 years ago

This should fixed now with version 1.0.0 that I just published to npm. The module was missing *.metadata.json files which are required for AOT / prod compilation to work correctly

mohitkr5 commented 3 years ago

It does not work in Angular 8, is there any resolution?