Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Austin Archibald
855 PointsCannot Save New Post: Uncaught TypeError: Cannot read property 'typeKey' of undefined
I went through this video (and last) to confirm I have everything correct, and it still does not work. I get this error in the console when trying to save:
Uncaught TypeError: Cannot read property 'typeKey' of undefined
It points to ember-data.js:10153. I am using beta 15 as instructed in the last video.
Austin Archibald
855 PointsAustin Archibald
855 PointsAlso, if I use the latest version of ember data (1.13.0), I can save the post with no error, I see the post listed, but when I click on it, it's empty. When I click Edit, title and body are empty. The post title is there on the #/posts page, but disappears when I click edit.
I tried also using the b10 as Epicodus dude did in the video, but I get an even weirder error using that. Clearly there is something off with the Ember Data versions and the versions as instructed in the video.