I have a mixin app/mixins/ui-listener.js
which I'm struggling to use with Ember-CLI. I'm trying to use the mixin with the following syntax:
import ListenerMixin from './mixins/ui-listener';
export default Ember.Component.extend(ListenerMixin,{
// class definition
}
This fails when I save it, complaining that
ENOENT, no such file or directory 'tmp/tree_merger-tmp_dest_dir-74tK3rvD.tmp/[app-name]/components/mixins/ui-listener.js'
It seems funny that the "mixins" directory is nested under the "components" directory (as Ember-CLI puts these directories at the same level) but this may just a Brocoli build step. Anyway, any help would be greatly appreciated.
./
means this directory should be../
, you're missing a.
– Patsy Issa