Search code examples
javascriptsessionember.jsember-cliember-simple-auth

Import Session not working


In my Ember App I want to extend Ember Simple Auth's Session Object (I'm using the Ember CLI Addon). That's why I import it like stated in the docs:

import Session from 'simple-auth/session';

When I try to build my app the console logs a file not found error.

I can import the LoginControllerMixin with:

import LoginControllerMixin from 'simple-auth/mixins/login-controller-mixin';

Is anyone else experiencing this problem or got a clue what could cause this issue?


Solution

  • That's a known bug in the Ember Simple Auth Addon (https://github.com/simplabs/ember-cli-simple-auth/issues/1) - for now please install the addon directly from the github repository.