Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4425

4.8.0 regression for NODE-3199 Webpack fails due to missing mongodb-client-encryption

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.8.1
    • Affects Version/s: 4.8.0
    • Component/s: None
    • 1
    • Not Needed

      Regression with 4.8.0 has reintroduced https://jira.mongodb.org/browse/NODE-3199 which worked with 4.7.0.

      WARNING in ./node_modules/mongodb/lib/utils.js 1123:34-89
      Critical dependency: the request of a dependency is an expression

      ERROR in ./node_modules/mongodb/lib/utils.js 1126:34-70
      Module not found: Error: Can't resolve 'mongodb-client-encryption' in '/root/CMS/cms-agent-endpoints/node_modules/mongodb/lib'

      webpack 5.73.0 compiled with 1 error and 8 warnings in 6864 ms
      error Command failed with exit code 1.

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            barry.c.davis@gmail.com Barry Davis
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: