Closed Blacedraco closed 4 months ago
mongodb-memory-server-*: 6.0.4
such a mongodb-memory-server version does not exist, the last 6.0.x
version is 6.0.2
, in any case, 6.x
is not supported anymore. currently the latest version is 9.2.0
.
If i try to run tests i get the following error Message: Neither me nor my professor have any idea how to fix it, but already tried reinstalling everything.
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
did you already try what the error suggests and install the latest vc_redist
package?
"test": " set MONGOMS_VERSION=6.0.4 && jest --runInBand", Error: Download failed for url "https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.4%20.zip", Details:
something with your set
command is likely wrong and adds a extra space to the environment variable (resulting in 6.0.4
), which should (to my knowledge) not happen, though in the future i guess we can try to trim the input.
i dont know if this will work on windows, but does running MONGOMS_VERSION=6.0.4 jest --runInBand
work (instead of your set
and &&
command)?
if that does not work and this is the package.json anyway, try setting it under config
, see How to use them in the package.json
Versions
package: mongo-memory-server
What is your question?
If i try to run tests i get the following error Message:
and if i try to use a specific version with the following command,
"test": " set MONGOMS_VERSION=6.0.4 && jest --runInBand",
i get the message:
Neither me nor my professor have any idea how to fix it, but already tried reinstalling everything.