Closed jeremytm closed 9 years ago
@jeremytm it's strange. Can you please post a snippet with the relevant code? You can find a working example here: https://github.com/bugant/i-have-been-to. The initializer code is here: https://github.com/bugant/i-have-been-to/blob/master/app/initializers/fb.js
The only code I have changed is straight from your example for the initialiser. It's exactly the same as what is here: https://github.com/bugant/i-have-been-to/blob/master/app/initializers/fb.js
I am using Ember CLI 1.13.8, installed using npm install ember-cli-facebook-js-sdk --save-dev
Is this correct?
@jeremytm I've just tested with ember-cli 1.13.8 and everything work as expected. I indeed installed the add-on as you did with npm install ember-cli-facebook-js-sdk --save-dev
and added the initializer, started the serve and had no error.
My bad, I must not have restarted ember server last time. Oops!
It worked fine this time after restarting. Sorry for wasting your time.
I get this when trying to import the addon in an initializer: