ipfs-shipyard / ipfs-pubsub-room-demo

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

fix: avert install fail by upgrading dependencies ipfs and pubsub-room #12

Closed TsubasaK111 closed 6 years ago

TsubasaK111 commented 6 years ago

Fixes #11 by upgrading dependencies ipfs and ipfs-pubsub-room.

One issue that is created by this is that when the server is running and you access the frontend, errors are printed to console whenever a message is recieved, as per below:

Uncaught Error: no protocol with name: p2p-webrtc-star
    at Protocols (app.js:88879)
    at stringToStringTuples (app.js:88111)
    at stringToBuffer (app.js:88236)
    at Object.fromString (app.js:88244)
    at new Multiaddr (app.js:88438)
    at Multiaddr (app.js:88426)
    at WebRTCStar._peerDiscovered (app.js:59675)
    at Socket.Emitter.emit (app.js:17023)
    at Socket.onevent (app.js:111545)
    at Socket.onpacket (app.js:111503)