So, if I use my DeepStream server as the following
const {Deepstream} = require('@deepstream/server')
const server = new Deepstream({
server.start()
it's working just fine I can connect to it from my frontend app like the following
const {DeepstreamClient} = require('@deepstream/client')
const client = new DeepstreamClient('192.168.88.238:6020')
client.login()
but If I add MongoDB storage instance or RethinkDB NPM - RethinkDB
const {Deepstream} = require('@deepstream/server')
const server = new Deepstream({
storage: {
name: 'rethinkdb',
options: {
host: 'localhost',
port: 28015
}
}
})
// start the server
server.start()
I get the following error message when trying to reach my ds server.
(I've also tried to connect via WSS:// instead of WS://)

So hi everybody who has the same problem as me... I figured it out! So first of all what the npm packages documentation says from the usage of the Mongo DB driver is completely out of data
so what they say how should u use the npm package :
INSTEAD OF ALL THIS!
You ain't really need the
), and u don't really need to use this way...
'deep stream.io-storage-MongoDB'because it's an old module (based on:The correct usage of the MongoDB connector :
or you can also create a config. yaml file from all this :
and pass it to the deep stream constructor as below: