mercredi 11 novembre 2015

Ember-simple-auth with with ember-cli-simple-auth-token

I'm trying to use ember-simple-auth with ember-cli-simple-auth-token:

"ember-cli-simple-auth-token": "^0.7.3",
"ember-simple-auth": "1.0.1"

And that's my configurations:

  ENV['simple-auth-token'] = {
    authorizer: 'simple-auth-authorizer:token',
    identificationField: 'email',
    serverTokenEndpoint: 'http://localhost:3000/token'
  };

Am i missing something? Cause i'm receiving this error in my console:

Could not find module `simple-auth/authenticators/base` imported from `simple-auth-token/authenticators/token`

I already try to uninstall and npm prune, and reinstall.. and the same message keeps showing.

Thanks guys.




Aucun commentaire:

Enregistrer un commentaire