Search code examples
ember.jsfont-awesome-5

Ember: fa-icon is not a helper


I recently installed the Ember Font Awesome plugin into ember-social-share to make it easy to render icons. It worked for me locally, however now when I add ember-social-share to my application and call it, I get...:

Uncaught Error: Compile Error: fa-icon is not a helper

I've seen a lot of documentation online about how this is an issue people have run into, but I haven't been able to find a solution. Any help is greatly appreciated!


Solution

  • Looking at your fork of ember-social-share you do not list ember-font-awesome as a dependency.

    On a side note I would recommend importing and extending the components in your consuming app rather than maintaining your own fork as this will be harder to maintain as updates roll in.