-
Notifications
You must be signed in to change notification settings - Fork 49
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
Conflicts with other addons with blueprints, like emblem #97
Comments
That's curious, no - just installing it should be quite sufficient. You can try running this command to see your blueprints - it sounds like something else is providing blueprints and they are getting higher priority:
(I think that's the command, on my phone so can't check) |
By the way:
Just to be sure, you mean |
Ok will do (on my phone too). Might be emblem-cli; If that's the case is there anything I can configure to resolve the dependency?
|
Not that I can think of right now. I think adding that to this would solve it: https://github.com/kimroen/ember-cli-coffeescript/blob/master/package.json#L38 |
Yes!! Was playing with ember script first and still had it on the brain. I uninstalled that one as it seems out of date.
|
Ok, will try that and let you know.
|
I tried this myself, doesn't appear to resolve the issue. from
looks like the component generator isn't showing up? |
No, but it should show up in the section of the addon that is also providing a component blueprint and overwriting the one from this addon. |
I'm having an issue here as well. The route generator seems to be defaulting to the ember-cli blueprint. Despite the fact I have
|
It's a conflict between emblem and coffeescript. They both override the On Mon, Jan 25, 2016 at 7:39 AM, Dave Arel [email protected] wrote:
|
Thanks, that's very helpful information. |
Sure thing, I haven't found a workaround myself, but then again I haven't looked hard either, at the moment I just run |
This might be something that should be addressed in Ember-CLI, or even Emblem. I opened a ticket in Emblem to make them aware of the issue. |
As you suggest, this is more of a fundemental ember-CLI problem, also related to #87 I'm excited to see if the proposed module changes will make this better - something needs to change with blueprints to accommodate those changes. |
We were running into this issue, and found a simple workaround: delete the blueprints folder in ember-cli-emblem. This means you will have rename the .hbs files to .emblem and remove the double curly braces inside the files, but it is easier than having to refactor .js files to .coffee. This is, of course, unsustainable in the long term, since updates may bring the blueprints folder back. But if you just need to move on with development, it is the best option among many unattractive ones. |
I've just installed the plugin to an existing ember-cli 1.13.13 app, and when I generate a pod or a component I am getting javascript blueprints for the pod itself, but coffeescript for the tests.
I tried adding
to try to force it but it is still not happening. Is there anything else I was supposed to do besides
ember install ember-cli-emberscript
?The text was updated successfully, but these errors were encountered: