We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To reproduce:
ember addon bug cd bug yarn add ember-cached-decorator-polyfill ember build
Result
Build Error (Analyzer) 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/runspired/github/temp/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js", "dirname": "/Users/runspired/github/temp/bug", "ownPass": false, "file": { "request": "/Users/runspired/github/temp/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js", "resolved": "/Users/runspired/github/temp/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js" } }, { "alias": "/Users/runspired/github/temp/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js", "dirname": "/Users/runspired/github/temp/bug", "ownPass": false, "file": { "request": "/Users/runspired/github/temp/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js", "resolved": "/Users/runspired/github/temp/bug/node_modules/ember-cached-decorator-polyfill/lib/transpile-modules.js" } } ] Stack Trace and Error Report: /var/folders/4q/mm5h2b_j0k743zhh3660przr0000gn/T/error.dump.824bc958ee0e4fc00b8b4e0b68e7152e.log
The text was updated successfully, but these errors were encountered:
I believe the issue is this line
ember-cached-decorator-polyfill/index.js
Line 18 in 45ed313
not only is it misspelled (missing the d in cached), but looking at how hasPlugin works likely this needs to be the fully resolved path.
d
cached
hasPlugin
if (!hasPlugin(app, 'ember-cache-decorator-polyfill')) {
Sorry, something went wrong.
Released in https://github.com/ember-polyfills/ember-cached-decorator-polyfill/releases/tag/v0.1.3
Successfully merging a pull request may close this issue.
To reproduce:
Result
The text was updated successfully, but these errors were encountered: