Closed igorT closed 3 years ago
In 0.1.3
ember addon bug cd bug yarn add ember-cached-decorator-polyfill ember-data/model@3.29.0-alpha.5 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" } } ]
@dcyriller pinning ember-data to 0.1.3 for now https://github.com/emberjs/data/pull/7638
This seems to have been caused by an ember-data build issue. Fixed by https://github.com/emberjs/data/pull/7639
79 was fixed by https://github.com/ember-polyfills/ember-cached-decorator-polyfill/pull/80
In 0.1.3
works.
In 0.1.4 it gives us: