Im working on app where https://boardgame.io/#/ library is in use.
My problem is that it communicates to server using socket.oi-client and when it tries to connect i see
error from meteor-node-stubs :
modules.js?hash=dbc834b5eed1d832b9f350db5c1024506acaca5c:86958 Uncaught (in promise) ReferenceError: Buffer is not defined at modules.js?hash=dbc834b5eed1d832b9f350db5c1024506acaca5c:86958 at new Promise (<anonymous>) at Object.write (modules.js?hash=dbc834b5eed1d832b9f350db5c1024506acaca5c:86955)
For sure its not fault of library because minimal client code :
import io from "socket.io-client"; io(whateverServerYouWant);
ends up with same error in console. Of course i could clone boardgame.io and reqrite communication layer but i would rather prefer to understand whats wrong now and have i any chance to set up socket.io based communication. I would really appreciate any comment.