Make mongocrypt.h missing error with yarn install

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Not Needed
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      When using node package "mongodb-client-encryption": "^6.0.0", I get errors with the package:

      make: Entering directory '/app/node_modules/mongodb-client-encryption/build'
      CXX(target) Release/obj.target/mongocrypt/addon/mongocrypt.o
      In file included from ../addon/mongocrypt.cc:1:
       ../addon/mongocrypt.h:16:10: fatal error: mongocrypt/mongocrypt.h: No such file or directory
      16 | #include <mongocrypt/mongocrypt.h>

      even though the file does exist in node_modules in the addon directory.

      I am running Docker node:19.9 image in Ubuntu through WSL on Windows 11

      Using the following packages:

      "mongodb": "^6.0.0",
      "mongodb-client-encryption": "^6.0.0",
       

            Assignee:
            Neal Beeken
            Reporter:
            Edward Fu
            None
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: