[COMPASS-4213] Compass-aggregations versions 6.1.2+ requires electron dependency Created: 16/Mar/20  Updated: 29/Oct/23  Resolved: 16/Mar/20

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: None
Fix Version/s: v7.0.4, v6.1.6

Type: Bug Priority: Major - P3
Reporter: Julia Ruddy (Inactive) Assignee: Durran Jordan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Description   

Versions 6.1.2+ of compass-aggregations appear to cause Module not found errors for electron. It appears to be a dependency for 6.1.2+, although it wasn't for previous versions.

This issue was discovered in CLOUDP-57976 and can be seen in this patch build: https://evergreen.mongodb.com/task/mms_code_health_COMPILE_CLIENT_BAZEL_patch_1efb8f12446f26087ea93894ee748c1f3aeea592_5e5ed6469ccd4e2f900add13_20_03_03_22_14_18. It only shows up in the bazel build because mms has electron installed as a dev dependency.

I have created a simple reproduction of this error in a sample repository here: https://github.com/jr22/test-app.



 Comments   
Comment by Durran Jordan [ 16/Mar/20 ]

6.1.6 and 7.0.4 have a fix in for this.

Generated at Wed Feb 07 22:35:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.