Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.1.4 errors out similarly to #79 #94

Closed
igorT opened this issue Jul 21, 2021 · 2 comments
Closed

0.1.4 errors out similarly to #79 #94

igorT opened this issue Jul 21, 2021 · 2 comments

Comments

@igorT
Copy link

igorT commented Jul 21, 2021

#79 was fixed by #80

In 0.1.3

ember addon bug
cd bug
yarn add ember-cached-decorator-polyfill
ember-data/[email protected]
ember build

works.

In 0.1.4 it gives us:

Build Error (broccoli-persistent-filter:Babel > [Babel: @ember-data/model]) in -private/attr.js

Duplicate plugin/preset detected.
If you'd like to use two separate instances of a plugin,
they need separate names, e.g.

  plugins: [
    ['some-plugin', {}],
    ['some-plugin', {}, 'some unique name'],
  ]

Duplicates detected are:
[
  {
    "alias": "/Users/iterzic/code/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js",
    "dirname": "/Users/iterzic/code/bug",
    "ownPass": false,
    "file": {
      "request": "/Users/iterzic/code/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js",
      "resolved": "/Users/iterzic/code/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js"
    }
  },
  {
    "alias": "/Users/iterzic/code/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js",
    "dirname": "/Users/iterzic/code/bug",
    "ownPass": false,
    "file": {
      "request": "/Users/iterzic/code/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js",
      "resolved": "/Users/iterzic/code/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js"
    }
  }
]
@igorT
Copy link
Author

igorT commented Jul 21, 2021

@dcyriller pinning ember-data to 0.1.3 for now emberjs/data#7638

@igorT
Copy link
Author

igorT commented Jul 22, 2021

This seems to have been caused by an ember-data build issue. Fixed by emberjs/data#7639

@igorT igorT closed this as completed Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant