ipfs-shipyard / ipfs-pubsub-room-demo

IPFS Pubsub room demo
MIT License
53 stars 21 forks source link

Error with room.sendTo() #9

Closed aitorjs closed 6 years ago

aitorjs commented 6 years ago

I try the demo without any change and when the code calls to room.sendTo(), I get this error: _this._ipfs.libp2pNode.dialProtocol is not a function on connection.js line 51. This function is this

I'm on node 9.2.0 and npm 6.0.1. ¿Any ideas why I get this error? Thanks! :-)

pgte commented 6 years ago

What js-IPFS version are you using?

aitorjs commented 6 years ago

Thanks for the fast reply! :-)

v0.27.7. I see that are more recent versions. I'll try with the last one, v0.29.1

aitorjs commented 6 years ago

Updating IPFS to v0.29.1 error disappear and the room.sendTo() is running. :-)

Thanks for all! Amazing job team! Keep in that way! :-D