[BroccoliMergeTrees] error while merging the following
See original GitHub issueHey, I’ve followed the instructions and tried to run my app, but got the following error. Any ideas what the issue might be?
=================================================================================
ENV Summary:
TIME: Sun May 12 2019 16:41:03 GMT+0200 (CEST)
TITLE: ember
ARGV:
- /Users/user/.nvm/versions/node/v8.9.1/bin/node
- /Users/user/.nvm/versions/node/v8.9.1/bin/ember
- s
EXEC_PATH: /Users/user/.nvm/versions/node/v8.9.1/bin/node
TMPDIR: /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T
SHELL: /bin/zsh
PATH:
- /Users/user/.nvm/versions/node/v8.9.1/bin
- /usr/local/bin
- /usr/bin
- /bin
- /usr/sbin
- /sbin
- /Users/user/.nvm/versions/node/v8.9.1/bin
- /Users/user/go/bin
- /Users/user/go/bin
PLATFORM: darwin x64
FREEMEM: 2964840448
TOTALMEM: 17179869184
UPTIME: 175864
LOADAVG: 2.263671875,1.9599609375,1.9169921875
CPUS:
- Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz - 2800
- Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz - 2800
- Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz - 2800
- Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz - 2800
- Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz - 2800
- Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz - 2800
- Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz - 2800
- Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz - 2800
ENDIANNESS: LE
VERSIONS:
- ares: 1.10.1-DEV
- cldr: 31.0.1
- http_parser: 2.7.0
- icu: 59.1
- modules: 57
- nghttp2: 1.25.0
- node: 8.9.1
- openssl: 1.0.2m
- tz: 2017b
- unicode: 9.0
- uv: 1.15.0
- v8: 6.1.534.47
- zlib: 1.2.11
ERROR Summary:
- broccoliBuilderErrorStack: Error: [BroccoliMergeTrees] error while merging the following:
1. [ObserveTree: @embroider/compat/observe-tree]
2. [ObserveTree: @embroider/compat/observe-tree]
3. [ObserveTree: @embroider/compat/observe-tree]
4. [Funnel]
5. [RewritePackageJSON: embroider:core:rewrite-package-json]
Merge error: file app.css exists in /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-23-observe_tree_embroider_compat_observe_tree and /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-27-observe_tree_embroider_compat_observe_tree
Pass option { overwrite: true } to mergeTrees in order to have the latter file win.
at MergeTrees._getMergedDirectory2 (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/node_modules/merge-trees/index.js:151:19)
at MergeTrees._getMergedDirectory (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/node_modules/merge-trees/index.js:40:17)
at MergeTrees.merge (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/node_modules/merge-trees/index.js:27:20)
at BroccoliMergeTrees.build (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/index.js:36:21)
at resolve (/Users/user/dev/testapp/node_modules/broccoli/lib/wrappers/transform-node.js:29:35)
at new Promise (<anonymous>)
at TransformNodeWrapper.build (/Users/user/dev/testapp/node_modules/broccoli/lib/wrappers/transform-node.js:21:12)
at Promise.resolve.then.then.then (/Users/user/dev/testapp/node_modules/broccoli/lib/builder.js:116:28)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
- code: [undefined]
- codeFrame: [BroccoliMergeTrees] error while merging the following:
1. [ObserveTree: @embroider/compat/observe-tree]
2. [ObserveTree: @embroider/compat/observe-tree]
3. [ObserveTree: @embroider/compat/observe-tree]
4. [Funnel]
5. [RewritePackageJSON: embroider:core:rewrite-package-json]
Merge error: file app.css exists in /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-23-observe_tree_embroider_compat_observe_tree and /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-27-observe_tree_embroider_compat_observe_tree
Pass option { overwrite: true } to mergeTrees in order to have the latter file win.
at BroccoliMergeTrees
-~- created here: -~-
at BroccoliMergeTrees.Plugin (/Users/user/dev/testapp/node_modules/broccoli-plugin/index.js:7:31)
at new BroccoliMergeTrees (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/index.js:16:10)
at Object.BroccoliMergeTrees [as default] (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/index.js:10:53)
at V1Addon.get v2Tree [as v2Tree] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/v1-addon.js:298:46)
at oldPackages.map.pkg (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:42:48)
at Array.map (<anonymous>)
at buildCompatAddon (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:42:33)
at Object.cachedBuildCompatAddon [as default] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:13:16)
at CompatAddons.movedAddons.map.oldPkg (/Users/user/dev/testapp/node_modules/@embroider/compat/src/compat-addons.js:39:105)
at Array.map (<anonymous>)
-~- (end) -~-
- errorMessage: [BroccoliMergeTrees] error while merging the following:
1. [ObserveTree: @embroider/compat/observe-tree]
2. [ObserveTree: @embroider/compat/observe-tree]
3. [ObserveTree: @embroider/compat/observe-tree]
4. [Funnel]
5. [RewritePackageJSON: embroider:core:rewrite-package-json]
Merge error: file app.css exists in /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-23-observe_tree_embroider_compat_observe_tree and /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-27-observe_tree_embroider_compat_observe_tree
Pass option { overwrite: true } to mergeTrees in order to have the latter file win.
at BroccoliMergeTrees
-~- created here: -~-
at BroccoliMergeTrees.Plugin (/Users/user/dev/testapp/node_modules/broccoli-plugin/index.js:7:31)
at new BroccoliMergeTrees (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/index.js:16:10)
at Object.BroccoliMergeTrees [as default] (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/index.js:10:53)
at V1Addon.get v2Tree [as v2Tree] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/v1-addon.js:298:46)
at oldPackages.map.pkg (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:42:48)
at Array.map (<anonymous>)
at buildCompatAddon (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:42:33)
at Object.cachedBuildCompatAddon [as default] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:13:16)
at CompatAddons.movedAddons.map.oldPkg (/Users/user/dev/testapp/node_modules/@embroider/compat/src/compat-addons.js:39:105)
at Array.map (<anonymous>)
-~- (end) -~-
at OneShot
-~- created here: -~-
at new Plugin (/Users/user/dev/testapp/node_modules/broccoli-plugin/index.js:7:31)
at new OneShot (/Users/user/dev/testapp/node_modules/@embroider/compat/src/one-shot.js:14:9)
at Object.cachedBuildCompatAddon [as default] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:15:16)
at CompatAddons.movedAddons.map.oldPkg (/Users/user/dev/testapp/node_modules/@embroider/compat/src/compat-addons.js:39:105)
at Array.map (<anonymous>)
at new CompatAddons (/Users/user/dev/testapp/node_modules/@embroider/compat/src/compat-addons.js:39:63)
at Object.defaultPipeline [as compatBuild] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/default-pipeline.js:17:18)
at module.exports (/Users/user/dev/testapp/ember-cli-build.js:32:39)
at Builder.readBuildFile (/Users/user/dev/testapp/node_modules/ember-cli/lib/models/builder.js:52:14)
at Builder.setupBroccoliBuilder (/Users/user/dev/testapp/node_modules/ember-cli/lib/models/builder.js:66:22)
-~- (end) -~-
- errorType: Build Error
- location:
- column: [undefined]
- file: [undefined]
- line: [undefined]
- treeDir: [undefined]
- message: [BroccoliMergeTrees] error while merging the following:
1. [ObserveTree: @embroider/compat/observe-tree]
2. [ObserveTree: @embroider/compat/observe-tree]
3. [ObserveTree: @embroider/compat/observe-tree]
4. [Funnel]
5. [RewritePackageJSON: embroider:core:rewrite-package-json]
Merge error: file app.css exists in /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-23-observe_tree_embroider_compat_observe_tree and /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-27-observe_tree_embroider_compat_observe_tree
Pass option { overwrite: true } to mergeTrees in order to have the latter file win.
at BroccoliMergeTrees
-~- created here: -~-
at BroccoliMergeTrees.Plugin (/Users/user/dev/testapp/node_modules/broccoli-plugin/index.js:7:31)
at new BroccoliMergeTrees (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/index.js:16:10)
at Object.BroccoliMergeTrees [as default] (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/index.js:10:53)
at V1Addon.get v2Tree [as v2Tree] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/v1-addon.js:298:46)
at oldPackages.map.pkg (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:42:48)
at Array.map (<anonymous>)
at buildCompatAddon (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:42:33)
at Object.cachedBuildCompatAddon [as default] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:13:16)
at CompatAddons.movedAddons.map.oldPkg (/Users/user/dev/testapp/node_modules/@embroider/compat/src/compat-addons.js:39:105)
at Array.map (<anonymous>)
-~- (end) -~-
at OneShot
-~- created here: -~-
at new Plugin (/Users/user/dev/testapp/node_modules/broccoli-plugin/index.js:7:31)
at new OneShot (/Users/user/dev/testapp/node_modules/@embroider/compat/src/one-shot.js:14:9)
at Object.cachedBuildCompatAddon [as default] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:15:16)
at CompatAddons.movedAddons.map.oldPkg (/Users/user/dev/testapp/node_modules/@embroider/compat/src/compat-addons.js:39:105)
at Array.map (<anonymous>)
at new CompatAddons (/Users/user/dev/testapp/node_modules/@embroider/compat/src/compat-addons.js:39:63)
at Object.defaultPipeline [as compatBuild] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/default-pipeline.js:17:18)
at module.exports (/Users/user/dev/testapp/ember-cli-build.js:32:39)
at Builder.readBuildFile (/Users/user/dev/testapp/node_modules/ember-cli/lib/models/builder.js:52:14)
at Builder.setupBroccoliBuilder (/Users/user/dev/testapp/node_modules/ember-cli/lib/models/builder.js:66:22)
-~- (end) -~-
- name: BuildError
- nodeAnnotation: [undefined]
- nodeName: OneShot
- originalErrorMessage: [BroccoliMergeTrees] error while merging the following:
1. [ObserveTree: @embroider/compat/observe-tree]
2. [ObserveTree: @embroider/compat/observe-tree]
3. [ObserveTree: @embroider/compat/observe-tree]
4. [Funnel]
5. [RewritePackageJSON: embroider:core:rewrite-package-json]
Merge error: file app.css exists in /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-23-observe_tree_embroider_compat_observe_tree and /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-27-observe_tree_embroider_compat_observe_tree
Pass option { overwrite: true } to mergeTrees in order to have the latter file win.
at BroccoliMergeTrees
-~- created here: -~-
at BroccoliMergeTrees.Plugin (/Users/user/dev/testapp/node_modules/broccoli-plugin/index.js:7:31)
at new BroccoliMergeTrees (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/index.js:16:10)
at Object.BroccoliMergeTrees [as default] (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/index.js:10:53)
at V1Addon.get v2Tree [as v2Tree] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/v1-addon.js:298:46)
at oldPackages.map.pkg (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:42:48)
at Array.map (<anonymous>)
at buildCompatAddon (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:42:33)
at Object.cachedBuildCompatAddon [as default] (/Users/user/dev/testapp/node_modules/@embroider/compat/src/build-compat-addon.js:13:16)
at CompatAddons.movedAddons.map.oldPkg (/Users/user/dev/testapp/node_modules/@embroider/compat/src/compat-addons.js:39:105)
at Array.map (<anonymous>)
-~- (end) -~-
- stack: Error: [BroccoliMergeTrees] error while merging the following:
1. [ObserveTree: @embroider/compat/observe-tree]
2. [ObserveTree: @embroider/compat/observe-tree]
3. [ObserveTree: @embroider/compat/observe-tree]
4. [Funnel]
5. [RewritePackageJSON: embroider:core:rewrite-package-json]
Merge error: file app.css exists in /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-23-observe_tree_embroider_compat_observe_tree and /var/folders/3_/j1n1p4dn6gx884nt498fg9040000gn/T/broccoli-34151OyagRZf6r1Fl/out-27-observe_tree_embroider_compat_observe_tree
Pass option { overwrite: true } to mergeTrees in order to have the latter file win.
at MergeTrees._getMergedDirectory2 (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/node_modules/merge-trees/index.js:151:19)
at MergeTrees._getMergedDirectory (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/node_modules/merge-trees/index.js:40:17)
at MergeTrees.merge (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/node_modules/merge-trees/index.js:27:20)
at BroccoliMergeTrees.build (/Users/user/dev/testapp/node_modules/broccoli-merge-trees/index.js:36:21)
at resolve (/Users/user/dev/testapp/node_modules/broccoli/lib/wrappers/transform-node.js:29:35)
at new Promise (<anonymous>)
at TransformNodeWrapper.build (/Users/user/dev/testapp/node_modules/broccoli/lib/wrappers/transform-node.js:21:12)
at Promise.resolve.then.then.then (/Users/user/dev/testapp/node_modules/broccoli/lib/builder.js:116:28)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
=================================================================================
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Broccoli Plugin permission error, nodejs - ember.js
I am getting a build error when trying to run a node.js app on Ubuntu (run ... /broccoli-merge-trees/index.js:29:10) at BroccoliMergeTrees ...
Read more >broccoli-merge-trees - npm
Broccoli plugin to merge multiple trees into one. Latest version: 4.2.0, last published: 3 years ago. Start using broccoli-merge-trees in ...
Read more >broccoli-merge-trees - npm.io
broccoli-merge-trees. CI. Copy multiple trees of files on top of each other, resulting in a single merged tree. Installation.
Read more >Cannot find module for addon - Ember.JS
I've been trying to get an addon we wanted to use to build correctly. It initially complained because of not being able to...
Read more >JavaScript broccoli-merge-trees Examples - HotExamples
JavaScript broccoli-merge-trees - 30 examples found. ... For example, in ie6 the following would be an error: ``` {default: "something"}.default ``` However ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The source of the
error while merging
is that vertical-collection’s customtreeForAddon
emits a CSS file. It shouldn’t.IMO the entire
treeForAddon
invertical-collection
is trying too hard to be clever and should be scrapped. Using Rollup here actively subverts our ability to analyze and optimize.You can workaround by neutering the entire custom treeForAddon hook like this:
The torii issue is unrelated but I made a PR to fix that too.
Yes, those warnings are pointing out real problems where addons are trying to import nonexistent things. They are warnings and not errors because nobody is actually trying to use the nonexistent things.
It would be very helpful if someone wants to make PRs to those projects to clean up the warnings. It looks like the test-helpers one was already done here: https://github.com/emberjs/ember-test-helpers/pull/580