Cannot read properties of undefined (reading 'bind')
Unfortunately this wonderful technology does not work.
the error is returned from here https://github.com/samchon/tgrid/blob/master/src/components/Communicator.ts#L395
everything is done according to the basic documentation
the strangest thing is that the error appears in my logs on the backend side, on the WebSocketRoute side
although the path shows that it is from the frontend, there I call functional.connect via sdk. Also, if the backend crashes on the client side, there is no reconnect, this is very sad.
UPD:
I tried for a long time to make it work. But after this error the ws server on the backend side closes. This is visible even from the browser if you execute this code
const socket = new WebSocket('ws://localhost:7000/connect');
socket.onopen = () => {
console.log('✅ opened');
socket.send(JSON.stringify({ ping: true }));
};
socket.onmessage = (e) => console.log('📩', e.data);
socket.onerror = (e) => console.error('❌', e);
socket.onclose = (e) => console.log('🔌 closed', e.code, e.reason);
this is very bad behavior(( the error from the client completely closes the server on the backend.
I think the problem is in the provider installation on the client side