indexiatech / ember-idx-modal

Ember Indexia Modal
http://indexiatech.github.io/ember-idx-modal/#/gettingstarted
Apache License 2.0
17 stars 13 forks source link

Cannot find module 'broccoli-merge-trees' #1

Closed wwwdata closed 9 years ago

wwwdata commented 9 years ago

Hi, when I installed this plugin as described and start my ember application with ember serve I get the following error:

Cannot find module 'broccoli-merge-trees'

I guess the problem is, that it is specified as a dev dependency, but when using this ember module, I also need the dev dependencies installed?

If I do cd node_modules/ember-idx-modal and install all the dev dependencies, the error message changes to the following:

Serving on http://0.0.0.0:4200/
File: ember-idx-button/button.js
ENOENT, no such file or directory '/private/tmp/testProject/tmp/tree_merger-tmp_dest_dir-HVav4vgC.tmp/ember-idx-utils/mixin/with-config.js'
Error: ENOENT, no such file or directory '/private/tmp/testProject/tmp/tree_merger-tmp_dest_dir-HVav4vgC.tmp/ember-idx-utils/mixin/with-config.js'

What am I doing wrong or is this a bug? I tried it on a completely new project that I previosly created with ember init, ember version 1.8.1

wwwdata commented 9 years ago

hm, it seemed that installing

npm install --save-dev ember-idx-button

was necessary and it also was necessary to add the following dependencies to the package.json of ember-idx-modal:

"dependencies": {
  "ember-idx-utils": "^0.2.0",
  "broccoli-merge-trees": "^0.2.1",
  "broccoli-static-compiler": "^0.2.1"
}
jackmatt2 commented 9 years ago

Getting this issue also.

asaf commented 9 years ago

yea I put these dependencies under devDependencies which is wrong, fixed, released 0.1.1.