You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I used mongodb-memory-server in mocha tests, I met below error:
Starting the MongoMemoryServer Instance failed, enable debug log for more information. Error:
UnexpectedCloseError: Instance closed unexpectedly with code "3221225781" and signal "null"
Exit Code is large, commonly meaning that vc_redist is not installed, the latest vc_redist can be found at https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
at MongoInstance.closeHandler (D:\BDD\flowDDD\verificationsrc-main\node_modules\mongodb-memory-server-core\lib\util\MongoInstance.js:303:58)
at ChildProcess.emit (node:events:514:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
Starting the MongoMemoryServer Instance failed, enable debug log for more information. Error:
UnexpectedCloseError: Instance closed unexpectedly with code "3221225781" and signal "null"
Exit Code is large, commonly meaning that vc_redist is not installed, the latest vc_redist can be found at https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
at MongoInstance.closeHandler (D:\BDD\flowDDD\verificationsrc-main\node_modules\mongodb-memory-server-core\lib\util\MongoInstance.js:303:58)
at ChildProcess.emit (node:events:514:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
Do you know why it happenes?
no
The text was updated successfully, but these errors were encountered:
Versions
package: mongo-memory-server
What is the Problem?
When I used mongodb-memory-server in mocha tests, I met below error:
Code Example
Debug Output
Debug Output
Do you know why it happenes?
no
The text was updated successfully, but these errors were encountered: