-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.6.4
-
Component/s: None
-
(copied to CRM)
-
Empty show more show less
I use Node.js MongoDB driver version. Entry for my package.json shown below:
"mongodb": "^3.6.4",
I use Node.js version: v15.8.0
I get the below error:
(node:16496) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
Output of --trace-warnings:
C:\work-dir>node --trace-warnings lib/server.js
(node:3804) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
at emitCircularRequireWarning (node:internal/modules/cjs/loader:698:11)
at Object.get (node:internal/modules/cjs/loader:712:5)
at Object.<anonymous> (C:\Purush_work\CDC_notAllowedAndAllowed\svc-wow-pay-rpvs\node_modules\mongodb\lib\operations\operation.js:4:38)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:997:19)
at Module.patchedRequire [as require] (C:\Purush_work\CDC_notAllowedAndAllowed\svc-wow-pay-rpvs\node_modules\diagnostic-channel\dist\src\patchRequire.js:14:46)
at require (node:internal/modules/cjs/helpers:92:18)
at Object.<anonymous> (C:\Purush_work\CDC_notAllowedAndAllowed\svc-wow-pay-rpvs\node_modules\mongodb\lib\operations\execute_operation.js:4:16)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:997:19)