Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Trouble upgrading from 12.1 to 13.0 #83

Open
SamTS opened this issue Feb 23, 2019 · 0 comments
Open

Trouble upgrading from 12.1 to 13.0 #83

SamTS opened this issue Feb 23, 2019 · 0 comments

Comments

@SamTS
Copy link

SamTS commented Feb 23, 2019

Hello,
Unsure if this is the right place for this, but I'm upgrading a project from kad-dht 12.1 to 13.0 and it isn't working for me.

I use this.libp2p.contentRouting.provide(new CID(multihash), (err) => { to provide a given multi-hash,
and then this.libp2p.contentRouting.findProviders(new CID(multihash), FIND_PROVIDER_TIMEOUT, (err, result) => { to find the content. It works in 12.1 and then fails in 13.0.

Because it might be important, here are my full dependencies "@nodeutils/defaults-deep": "^1.1.0", "async": "^2.6.1", "bluebird": "^3.5.1", "body-parser": "^1.18.3", "bs58": "^4.0.1", "chai": "^4.2.0", "cids": "^0.5.3", "commander": "^2.17.1", "debug": "^3.1.0", "express": "^4.16.4", "js-yaml": "^3.12.1", "libp2p": "^0.24.0", "libp2p-kad-dht": "^0.12.0", "libp2p-mdns": "^0.12.0", "libp2p-mplex": "^0.8.0", "libp2p-railing": "^0.9.2", "libp2p-secio": "^0.11.0", "libp2p-tcp": "^0.13.0", "mocha": "^5.2.0", "multihashing-async": "^0.5.1", "node-cmd": "^3.0.0", "node-forge": "^0.7.6", "peer-book": "^0.7.0", "peer-info": "^0.14.1", "pull-stream": "^3.6.8"

Any suggustions or a point in the right direction would be much appreciated!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant