New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ember-CLI 0.0.42 Issue #42
Comments
In ember-cli 0.0.42 the directory for bower installs has changed from vendor/ to bower_components/ - references should be changed from vendor/ to bower_components/ in .bowerrc, Brocfile, etc |
Changing lines 31-33 in index.js of ember-cli-components (https://github.com/indexiatech/ember-cli-components) fixed the problem for me: this.app.import('bower_components/ic-styled/main.js');
this.app.import('bower_components/ember-utils/dist/globals/main.js');
this.app.import('bower_components/ember-components/dist/globals/main.js'); (you find it under project-path/node_modules/ember-cli-components/index.js) Just for reference, the original code is as follows: this.app.import('vendor/ember-components/vendor/ic-styled/main.js');
this.app.import('vendor/ember-components/vendor/ember-utils/dist/globals/main.js');
this.app.import('vendor/ember-components/dist/globals/main.js'); |
Ill update the cli package. Thanks for the update. |
When making the changes @OleRoel suggested, I still seemed to be having issues that were prepending this.app.import('bower_components/ember-components/bower_components/ic-styled/main.js');
this.app.import('bower_components/ember-components/bower_components/ember-utils/dist/globals/main.js');
this.app.import('bower_components/ember-components/dist/globals/main.js'); |
Just as an FYI, this is still an issue. The fix suggested by OleRoel worked for me. |
@OleRoel suggestion worked for me thanks, a gotcha for me was I had to install both the ember cli and bower package for it to work properly |
Will refactor the ember-cli-components project to work with Ember-Cli 0.1.1 properly. |
Are there any news about it? |
+1 We've bumped into this issue as well. Would be great if we had an update or a recommended temporary fork. |
For me (ember-cli@0.1.4) the temporary fix was as follows:
this.app.import('vendor/ember-components/bower_components/ic-styled/main.js');
this.app.import('vendor/ember-components/bower_components/ember-utils/dist/globals/main.js');
this.app.import('vendor/ember-components/dist/globals/main.js'); The difference here I suppose is that I am pulling the addon into an existing addon project. |
Guys, I decided to split the code into ember addons per component, You can track the progress in issue #57 |
Good idea, but in the meantime, could you fix that in the non-splitted version as well? I tried the splitted modal package and ran into different bugs there, already opened and issue. |
@wwwdata Why ? I prefer to fix the bugs per addon (fixed the dependencies tree in the Modal project) |
After installing ember-components with 'npm install --save ember-cli-components' and building my project with 'ember build' I get the following exception:
Build failed.
Path or pattern "vendor/ember-components/vendor/ic-styled/main.js" did not match any files [string exception]
This doesn't happen after uninstalling ember-cli-components.
ember -v:
version: 0.0.42
node: 0.10.30
npm: 1.4.24
The text was updated successfully, but these errors were encountered: