Closed Awem closed 8 years ago
Have you tried installing ember-browserify
in the addon as well? Git repo structure should not have an effect, as long as the directory structure is the same.
No, I will try that. It might work, but I would prefer to use the main app's ember-browserify
.
Installing ember-browserify
in the addon as well, doesn't make a difference. I ran in a new issue, though: #39
@AW-UC were you able to get this working by installing the module in the root app?
yes, installing the module in the root app works well. Only the combination of:
ember-browserify
in root app
doesn't work.Yes I believe that is expected. Closing.
I haven't found a solution to make the following case work:
ember-browserify
installed via main package.json of the Ember-CLI-appimport Module from "npm:module"
in a file of the in-repo-addonResult:
Cannot find module
However, the same import command works, if you do not install that Node module via the in-repo-addon's but via the app's package.json. One would need to somehow specify the path to the in-repo-addon's Node modules, but I haven't found a way to do that.