Skip to content

`data-adapter being registered multiple times in 0.0.14 (but not in 0.0.11) #413

Open

Description

@bguiz

When I switch from ember-model#0.0.11 to ember-model#0.0.14, in an ember-cli app, I get an error indicating that data-adapter is being registered multiple times.

Reverting to ember-model#0.0.11 reverses this.

Stack:

    Uncaught Error: Assertion Failed: The initializer 'data-adapter' has already been registered vendor.js:16889
    Ember.assert vendor.js:16889
    Application.reopenClass.initializer vendor.js:16167
    (anonymous function) vendor.js:76374
    onLoad vendor.js:46787
    (anonymous function) vendor.js:76373
    (anonymous function)

Activity

  1. BilalBudhani commented on Jan 19, 2015

    @BilalBudhani

    Any update on this?

  2. gonvaled commented on Apr 10, 2015

    @gonvaled

    The same for me. This seems to be a conflict with ember-data? I am using both at the same time: ember-model for some models, ember-data for others. This was working fine with older versions of ember-model (up to 0.0.11)

  3. bguiz commented on Apr 11, 2015

    @bguiz
    ContributorAuthor

    @gonvaled I get this error using ember-model only (i.e. no ember-data)
    W: http://bguiz.com

    On 11 April 2015 at 02:07, gonvaled notifications@github.com wrote:

    The same for me. This seems to be a conflict with ember-data? I am using
    both at the same time: ember-model for some models, ember-data for others.

    —
    Reply to this email directly or view it on GitHub.

  4. gonvaled commented on Apr 11, 2015

    @gonvaled

    @bguiz : I can not verify that, since in my app I am using both projects. If your testing is right, that means @ebryn is probably not using ember-cli (or maybe an older ember-cli version?), otherwise he would have already detected this.

  5. silvenon commented on Sep 3, 2015

    @silvenon

    I get the error when using only ember-model as well. But I only get it when I concatenate my files, weird…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions