-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.6.4, 3.6.5, 3.6.6
-
Component/s: None
When updating to Mongodb v3.6.4 or greater this error is thrown when compiling with webpack.
mongodb-client-encryption has never needed to be installed previously and furthermore, when attempting to install that package it throws a Visual Studio 2015 is required error.
ERROR in ./node_modules/mongodb/lib/encrypter.js 7:2-46
Module not found: Error: Can't resolve 'mongodb-client-encryption' in 'C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb\lib'
resolve 'mongodb-client-encryption' in 'C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb\lib'
Parsed request is a module
using description file: C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb\package.json (relative path: ./lib)
resolve as module
C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb\lib\node_modules doesn't exist or is not a directory
C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb\node_modules doesn't exist or is not a directory
C:\Users\Dave\Development\API\api-estates-module\node_modules\node_modules doesn't exist or is not a directory
looking for modules in C:\Users\Dave\Development\API\api-estates-module\node_modules
single file module
using description file: C:\Users\Dave\Development\API\api-estates-module\package.json (relative path: ./node_modules/mongodb-client-encryption)
no extension
C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb-client-encryption doesn't exist
.tsx
C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb-client-encryption.tsx doesn't exist
.ts
C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb-client-encryption.ts doesn't exist
.js
C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb-client-encryption.js doesn't exist
.html
C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb-client-encryption.html doesn't exist
C:\Users\Dave\Development\API\api-estates-module\node_modules\mongodb-client-encryption doesn't exist
C:\Users\Dave\Development\API\node_modules doesn't exist or is not a directory
C:\Users\Dave\Development\node_modules doesn't exist or is not a directory
C:\Users\Dave\node_modules doesn't exist or is not a directory
C:\Users\node_modules doesn't exist or is not a directory
C:\node_modules doesn't exist or is not a directory
@ ./node_modules/mongodb/lib/mongo_client.js 194:41-63
@ ./node_modules/mongodb/index.js 8:16-53 22:22-51
@ ./src/functions/estate-children/estate-children.handler.ts 5:18-36