(node:1264278) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
Starting the MongoMemoryServer Instance failed, enable debug log for more information. Error:
StdoutInstanceError: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
at MongoInstance.checkErrorInLine (/.../node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
at MongoInstance.stderrHandler (/.../node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
StdoutInstanceError: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
at MongoInstance.checkErrorInLine (/.../node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
at MongoInstance.stderrHandler (/.../node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
Node.js v20.11.1
Does anyone know if this is related to the end of life of OpenSSL V 1.1 that end today, as Node 16 ? If so, it doesn't look like a good idea to install it manually in the image, isn't it ?
But i use NodeJS 20.11.1 on Ubuntu 22.04.4 LTS , why mongo-unit require a deprecated OpenSSL 1.1 library?
When try use the library says:
The problem with
libcrypto.so.1.1
is discussed here: https://github.com/nodejs/docker-node/issues/1915But i use NodeJS 20.11.1 on Ubuntu 22.04.4 LTS , why
mongo-unit
require a deprecated OpenSSL 1.1 library?