Template is not rendering in my upgrading ember app


#1

I was using ember 1.7.0 and ember-data 1.1.0.

Now I am trying to migrating ember 1.13.11 and ember data 1.13.15 using ember-cli 1.13.13 .

After migrating all my app resources , the page has been blanked . Only application controller routes and controller only called.But templates is not rendering . I don’t know it is HTML bar problem or ember-template-compiler problem or anything i missed in my configuration .


#2

@vinothwindows47 please stop tagging me in random posts around the web. Ask your question and people may or may not answer, but please stop summoning me to questions that you happen to have - I’m not your personal consultant.


#3

That’s a big jump in version numbers. I would recommend that you upgrade one version at a time, fix all broken tests, work to remove as many deprecation warnings as possible, do some “lite user testing” and then move on to the next version. I would do this with both Ember and Ember-data.

I know that probably sounds very tedious. But as someone who’s been using Ember since the 0.9.x days, I can tell you that it will be much easier and you’ll end up with a lot fewer regressions. And when you do encounter unexpected things like this it will make googling for a solution much easier (since you know which version caused the problem).


With regards to the specific issue, unfortuntaly it could be any number of things. Obviously check for errors in your console. My first guess is it’s not locating your application template. You might try App.__container__.lookupFactory('template:application') in your console. If that comes back null/undefined, then the problem is clearly with the resolver or the location of your file.


#4

Hey,

Were you able to fix this issue, I have been having the same and all the templates are not rendered at all. I tried Ember.TEMPLATES in console and it listed all the templates with attr “hasRendered” as false. I am not sure where to fix this.