-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation pipeline
-
None
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.