Build Error (broccoli-persistent-filter:Babel > [Babel: account]) in account/components/basic-dropdown/content.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'],
]
It seems this error occurs when using this exact version of ember-cli-htmlbars with ember-engines as account/
is an in-repo-engine.
When I remove all engines from the package.json the build works again.
=================================================================================
ENV Summary:
TIME: Tue Sep 24 2019 00:25:55 GMT+0100 (British Summer Time)
TITLE: ember
ARGV:
- /Users/devonte/.nvm/versions/node/v10.16.3/bin/node
- /Users/devonte/Documents/Devonte/zenunu/node_modules/.bin/ember
- serve
EXEC_PATH: /Users/devonte/.nvm/versions/node/v10.16.3/bin/node
TMPDIR: /var/folders/zp/9skf2wx96b37hdk3_rbd457m0000gn/T
SHELL: /usr/local/bin/fish
PATH:
- /var/folders/zp/9skf2wx96b37hdk3_rbd457m0000gn/T/yarn--1569281110106-0.1583029301122636
- /Users/devonte/Documents/Devonte/zenunu/node_modules/.bin
- /Users/devonte/.config/yarn/link/node_modules/.bin
- /Users/devonte/.nvm/versions/node/v10.16.3/libexec/lib/node_modules/npm/bin/node-gyp-bin
- /Users/devonte/.nvm/versions/node/v10.16.3/lib/node_modules/npm/bin/node-gyp-bin
- /Users/devonte/.nvm/versions/node/v10.16.3/bin/node_modules/npm/bin/node-gyp-bin
- /Users/devonte/.nvm/versions/node/v10.16.3/bin
- /Users/devonte/.gem/ruby/2.6.0/bin
- /usr/local/Cellar/ruby/2.6.2/bin/
- /usr/local/Cellar/ruby/2.6.2/lib/ruby/gems/2.6.0/bin
- /usr/local/lib/ruby/gems/2.6.0/bin
- /Users/devonte/go/bin
- /usr/local/bin
- /usr/bin
- /bin
- /usr/sbin
- /sbin
PLATFORM: darwin x64
FREEMEM: 37142528
TOTALMEM: 17179869184
UPTIME: 2131985
LOADAVG: 5.2919921875,5.50146484375,6.220703125
CPUS:
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
- Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz - 2200
ENDIANNESS: LE
VERSIONS:
- ares: 1.15.0
- brotli: 1.0.7
- cldr: 35.1
- http_parser: 2.8.0
- icu: 64.2
- modules: 64
- napi: 4
- nghttp2: 1.39.2
- node: 10.16.3
- openssl: 1.1.1c
- tz: 2019a
- unicode: 12.1
- uv: 1.28.0
- v8: 6.8.275.32-node.54
- zlib: 1.2.11
ERROR Summary:
- broccoliBuilderErrorStack: Error: 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'],
]
at assertNoDuplicates (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-descriptors.js:205:13)
at createDescriptors (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-descriptors.js:114:3)
at createPluginDescriptors (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
at alias (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-descriptors.js:63:49)
at cachedFunction (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/caching.js:33:19)
at plugins.plugins (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-descriptors.js:28:77)
at mergeChainOpts (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-chain.js:319:26)
at /Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-chain.js:283:7
at buildRootChain (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-chain.js:68:29)
at loadPrivatePartialConfig (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/partial.js:85:55)
- code: [undefined]
- codeFrame: 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'],
]
- errorMessage: account/components/basic-dropdown/content.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'],
]
in /var/folders/zp/9skf2wx96b37hdk3_rbd457m0000gn/T/broccoli-2434813No9clUHwWX/out-0891-funnel_funnel_addon_js
at broccoli-persistent-filter:Babel > [Babel: account] (Babel: account)
- errorType: Build Error
- location:
- column: [undefined]
- file: account/components/basic-dropdown/content.js
- line: [undefined]
- treeDir: /var/folders/zp/9skf2wx96b37hdk3_rbd457m0000gn/T/broccoli-2434813No9clUHwWX/out-0891-funnel_funnel_addon_js
- message: account/components/basic-dropdown/content.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'],
]
in /var/folders/zp/9skf2wx96b37hdk3_rbd457m0000gn/T/broccoli-2434813No9clUHwWX/out-0891-funnel_funnel_addon_js
at broccoli-persistent-filter:Babel > [Babel: account] (Babel: account)
- name: BuildError
- nodeAnnotation: Babel: account
- nodeName: broccoli-persistent-filter:Babel > [Babel: account]
- originalErrorMessage: 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'],
]
- stack: Error: 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'],
]
at assertNoDuplicates (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-descriptors.js:205:13)
at createDescriptors (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-descriptors.js:114:3)
at createPluginDescriptors (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
at alias (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-descriptors.js:63:49)
at cachedFunction (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/caching.js:33:19)
at plugins.plugins (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-descriptors.js:28:77)
at mergeChainOpts (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-chain.js:319:26)
at /Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-chain.js:283:7
at buildRootChain (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/config-chain.js:68:29)
at loadPrivatePartialConfig (/Users/devonte/Documents/Devonte/zenunu/node_modules/ember-cli-babel/node_modules/@babel/core/lib/config/partial.js:85:55)
=================================================================================