peer-info dependency issue
mikeal opened this issue · 0 comments
mikeal commented
I haven’t been able to dig in too deep and I’ve found workaround for now, but there’s a dependency issue somewhere with peer-info
.
When I try to setup libp2p w/ the latest js-ipfs-lite
I see “callback is a not a function error” because the version of peer-info in node_modules is 0.15.x and pre-dates the promises work. 0.17.x is in the devDependencies of js-ipfs-lite so you probably don’t see this during local testing. Maybe the main project, but perhaps a dependency of the main project, is not actually depending on peer-info
in package.json and relying on it being installed by another package which opened the door to this version mismatch.