-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update Ember to 1.9.0. #2714
Update Ember to 1.9.0. #2714
Conversation
Travis failed, I must've missed a few extra files. Will try to update tonight. |
i have afew minutes, looking into this now. |
bah this tests are so slow, i need to fix this. |
for reference the error is: Missing template processor
Error: Missing template processor
at module.exports.preprocessTemplates (/Users/stefan/src/ember-cli/lib/preprocessors.js:83:11)
at Class.Addon.compileTemplates (/Users/stefan/src/ember-cli/lib/models/addon.js:227:12)
at Class.Addon.compileAddon (/Users/stefan/src/ember-cli/lib/models/addon.js:241:28)
at Class.Addon.treeForAddon (/Users/stefan/src/ember-cli/lib/models/addon.js:173:24)
at Class._treeFor (/Users/stefan/src/ember-cli/lib/models/addon.js:118:31)
at Class.treeFor (/Users/stefan/src/ember-cli/lib/models/addon.js:97:19)
at EmberAddon.<anonymous> (/Users/stefan/src/ember-cli/lib/broccoli/ember-app.js:247:20)
at Array.map (native)
at EmberAddon.EmberApp.addonTreesFor (/Users/stefan/src/ember-cli/lib/broccoli/ember-app.js:245:30)
at EmberAddon.EmberApp._processedVendorTree (/Users/stefan/src/ember-cli/lib/broccoli/ember-app.js:497:38)
1) can render a component with a manually imported template
2) "after each" hook i may have been overzealous with clean test-output: issue opened #2716 |
i believe the problem is the ember-cli-handlebars add-on may not yet have registered. This may also be why esnext + sass registered filters don't work correctly in add-ons yet. |
ah investigation cut short, will continue after my call. |
Maybe there are other instances of package.json that I have missed? Will be back at a computer in an hour or two...= |
adding to debug logging it is being registered DEBUG=ember-cli:registry* ./node_modules/.bin/mocha tests/acceptance/addon-smoke-test-slow.js surprisingly it seems like we are re-adding many preprocessors more then i expected |
seems dubious: Wed, 10 Dec 2014 01:41:36 GMT ember-cli:registry add type: htmlbars-ast-plugin, name: [object Object], extension:undefined, options:undefined
Wed, 10 Dec 2014 01:41:36 GMT ember-cli:registry add type: htmlbars-ast-plugin, name: [object Object], extension:undefined, options:undefined
Wed, 10 Dec 2014 01:41:36 GMT ember-cli:registry remove type: template, name: broccoli-ember-hbs-template-compiler
Wed, 10 Dec 2014 01:41:36 GMT ember-cli:registry add type: template, name: [object Object], extension:undefined, options:undefined gtg shopping with the wife, will be back in an hour or two. |
7579c16
to
43f09af
Compare
Any news? |
@@ -19,7 +19,7 @@ | |||
"license": "MIT", | |||
"devDependencies": { | |||
"broccoli-asset-rev": "^2.0.0", | |||
"broccoli-ember-hbs-template-compiler": "^1.6.1", | |||
"ember-cli-htmlbars": "0.5.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to 0.5.4.
43f09af
to
8dcec4d
Compare
@rwjblue i suspect this is actually uncovering a larger issue with addons currently. We should likely prioritize this for sometime in the next 2 weeks. |
@stefanpenner - FYI - I have tracked the fundamental issue down for this (with the help of @teddyzeenny in ember-cli/ember-cli-htmlbars#34). I think I am going to need to rework the preprocessor initialization (the old preprocessor crap strikes again). Hoping to finish this today, so we can release 0.1.5 along with Ember 1.9.1 and 1.10.0-beta.2. |
@rwjblue 👍 |
@stefanpenner - Yes, absolutely. |
So I tried updating an addon to Ember 1.9.1 but get the error:
I tried an update to the ember-off-canvas-components repo to ember-cli v0.1.5 and updating to ember 1.9.1 as well. I uninstalled the old template processor and installed the new one as suggested in the blog post for Ember 1.9 release here http://emberjs.com/blog/2014/12/08/ember-1-9-0-released.html Uninstalled "broccoli-ember-hbs-template-compiler": "^1.6.1", But |
ya we should dig into this this weekend. It is related to correcting our add-on story. I suppose it depends how deep we want to go this time around. |
switch from broccoli-ember-hbs-template-compiler to ember-cli-htmlbars quick hack so we can proceed with moving common code to components discussion about real fix: ember-cli#2714
@pixelhandler it's not a long-term or general fix, but if you need this to work now (like I do), you could use my fork where I changed the template preprocessor to ember-cli-htmlbars: https://github.com/kielni/ember-cli/tree/ember-cli-htmlbars-preprocessor |
Did something change w/ ember-cli-htmlbars |
@jayphelps - It does work, but not for addons with templates (which is kind of a big deal). The issue was explained best by @teddyzeeny in ember-cli/ember-cli-htmlbars#34. |
Any update on this issue? |
Is there any way I can contribute on this? Are there any public discussions around what the problem is and what the fix should be so I can get a handle on what needs to be done? |
its just the way we config add ons. Also, please remember it is only the bundled version of ember-cli that can't be setup correctly. In your own apps everything will work fine, hence the somewhat low priority fix. |
I'm confused about what a "bundled" version of ember-cli is, versus a "non-bundled" version. |
I'm also having issues and am a little confused. Is the gist of this that users developing addons can not upgrade at this time? I am developing an addon and tried following the steps here: |
Currently, addons cannot use preprocessors that are not among the default On Monday, February 2, 2015, Bryan C notifications@github.com wrote:
|
@lukemelia thanks for the clarification. |
we are on |
A bit confused here, I have an addon I'm making that uses a template. Does this mean that currently no matter where I put it in the addon, it won't show up? Been trying to place it all over trying to figure out what the right convention is for it to live. |
No description provided.