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! While you're at it, check out some resources Treehouse students have shared here.

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

JavaScript Ember.js Ember Data Ember Data with Local Storage

Error messages in browser console

Snap shot of my work space*: https://w.trhou.se/h1y56rpv0c

*As you can see I have linked to a later version of ember.js as I had some error messages in my browser console which said too. Then have linked to a CDN of local storage, as clicking the link in the teacher notes I did not know what to download/proceed. Thinking it's change a bit since the tutorial was made.

Red error messages in my console are:

store.js:2 - Uncaught TypeError: DS.LSAdapter.extender is not a function

jquery-1.11.1.js:9631 - GET http://port-80-vrns8wlfvb.treehouse-app.com/posts 404 (Not Found)

ember.js:15358 - Error while processing route: posts Adapter operation failed Error: Adapter operation failed at new Error (native) at Error.EmberError (http://builds.emberjs.com/tags/v1.8.0/ember.js:14240:23) at Error.ember$data$lib$adapters$errors$$AdapterError (http://builds.emberjs.com/tags/v1.13.15/ember-data.js:19:50) at ember$data$lib$system$adapter$$default.extend.handleResponse (http://builds.emberjs.com/tags/v1.13.15/ember-data.js:1737:16) at hash.error (http://builds.emberjs.com/tags/v1.13.15/ember-data.js:1833:33) at fire (http://port-80-vrns8wlfvb.treehouse-app.com/libs/jquery-1.11.1.js:3119:30) at Object.self.fireWith as rejectWith at done (http://port-80-vrns8wlfvb.treehouse-app.com/libs/jquery-1.11.1.js:9277:14) at XMLHttpRequest.callback (http://port-80-vrns8wlfvb.treehouse-app.com/libs/jquery-1.11.1.js:9685:8)

1 Answer

Jeff Wilton
Jeff Wilton
16,646 Points

Just a shot in the dark here, but is your line 2 of script.js supposed to be .extend() instead of .extender()?

Brilliant spot Jeff! Don't what went on there! Thanks :-)