I’m trying to use an addon called ember-keyboard-shortcuts.
I’ve followed instructions for installing, which doesn’t seem to be any different than any other addon.
The addon is installed properly with the command ‘ember install ember-keyboard-shortcuts’.
I import the addon as normal to a component that needs the mixin:
import KeyboardShortcuts from 'ember-keyboard-shortcuts/mixins/component';
It also requires mousetrap, which I’ve also tried to install with npm --save-dev. Installs mousetrap properly.
However, when I load the component that uses the addon, i get this error message:
Uncaught Error: Could not find module `ember-keyboard-shortcuts/mixins/component` imported from `admin/components/edit-in-place-input`
I’ve had this problem with other addons as well. At first, I thought maybe it was the addon I was using, which lead me to checking out ember-keyboard-shortcuts. But the problem is consistent across these addons. They have been updated as far back as a month ago.
ember --version
version: 1.13.1
node: 0.12.6
npm: 2.12.1
I can’t seem to find any information online. I’m following instructions as they are written and these addons seem to be made the proper way. What am I missing here?