You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UnhandledPromiseRejectionWarning: TypeError: this._libp2p.pubsub.getSubscribers is not a function at PubSubRoom._pollPeers (ipfs-pubsub-room\src\index.js:106:49) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:5828) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
I got this error when I made a Room with IPFS node. How to solve this?
The text was updated successfully, but these errors were encountered:
This seems to be because this library is expecting a newer version of js-libp2p. See changelog here: https://github.com/libp2p/js-libp2p/releases (api was changed from libp2p.pubsub.peers to libp2p.pubsub.getSubscribers)
You can solve this issue by downgrading to [email protected] until the new version of js-ipfs that has the updated js-libp2p has been released.
UnhandledPromiseRejectionWarning: TypeError: this._libp2p.pubsub.getSubscribers is not a function at PubSubRoom._pollPeers (ipfs-pubsub-room\src\index.js:106:49) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:5828) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
I got this error when I made a Room with IPFS node. How to solve this?
The text was updated successfully, but these errors were encountered: