I have a git repo for an Ember Addon:
It passes all unit tests. It has been published to npm as ui-responsive-toolbelt. I have used npm's "link" functionality to test locally that this "addon" (in Ember parlance) works fine in consuming application when included in the package.json file as a dependency.
Surprisingly, and I'm completely flummoxed on this, when npm installs this dependency into an Ember project directory it brings across a vast majority of the files without complaining. From NPM's perspective it appears to be a clean install. Unfortunately an addon depends heavily on it's "entry point" which is the index.js in the root directory of the repo. I have very clearly included this file in the repo but for some reason it is not being brough over!
I have tried this on two computers and three Ember projects and all have the same outcome. Please help!
the error message I get from Ember-CLI when I try to start the server with ember serve is:
The package
ui-responsive-toolbeltis not a properly formatted package, we have used a fallback lookup to resolve it at/path/to/project/node_modules/ui-responsive-toolbelt. This is generally caused by an addon not having amainentry point (orindex.js).
This message is repeated twice and then I get:
The
ui-responsive-toolbeltaddon could not be found at/path/to/project/node_modules/ui-list/node_modules/ui-responsive-toolbelt.
npm publishagain?