mutewinter / tapas-with-ember

🚫 UNMAINTAINED: A Brunch skeleton for rapid Ember development. Including Ember installation scripts, environment-specific JS builds, generators, and Ember.vim support.
Other
127 stars 19 forks source link

Assertion Failed: The initializer 'data-adapter' has already been registered #18

Closed wnm closed 10 years ago

wnm commented 10 years ago

Not sure if this is an issue specific to this sceleton, but on a freshly baked tapas i get an

Assertion Failed: The initializer 'data-adapter' has already been registered 

error.

mutewinter commented 10 years ago

Hmm, not seeing this in my console. What browser are you running?

wnm commented 10 years ago

its showing on both Chromium 33 and Firefox 28 on Ubuntu Linux (x64) and: Ember : 1.5.1 ember.js:3521 Ember Data : 1.0.0-beta.7.f87cba88 ember.js:3521 Handlebars : 1.3.0 ember.js:3521 jQuery : 1.11.1-rc2 ember.js:3521 Ember Model : 0.0.11

mutewinter commented 10 years ago

Aha! I see the problem. You've got Ember Model and Ember Data installed at the same time. You'll need to remove one of them from the vendor/scripts folder. They both register a data-adapter.

mutewinter commented 10 years ago

I added a note to the README so no one else gets bitten by this. Thanks for pointing it out @wnm!

wnm commented 10 years ago

awesome! thanks for your help!