Closed theobat closed 7 years ago
Pubsub is enabled if you build go-ipfs from master, or you can download it (somewhat older version) from here: https://dist.ipfs.io/go-ipfs/floodsub-2. Floodsub-2 is what haadcode/go-ipfs-dep package uses.
To run it, you need to start the daemon with the flag: ipfs daemon --enable-pubsub-experiment
. That should do it.
Let me know if you're still stuck.
thanks @haadcode, my bad i forgot the daemon in the above copypaste (I did run it with and without though the problem was not on ipfs/orbit's end).
The problem resides in the way pnpm handles dependencies I guess... It works perfectly with standard npm install. From my understanding they try to resolve all the dependencies and install every version of an npm package only once in a user defined repo a bit like npm -g would do (and then they symlink to them from each node_module repositories).
I'm going to create an issue on their repo, you can close this.
Note: There is an important (yet not breaking as I thought) problem on npm regarding go-ipfs though, you can reproduce it that way :
Closing as requested.
I cannot find any version of ipfs supporting the
--enable-pubsub-experiment
flag, still trying to find out what's going on.It seems orbit uses an old version of ipfs provided by thego-ipfs
npm package. This actually breaks the current version of orbit as the flag--enable-pubsub-experiment
was added recently (and is incidentally not present in the go-ipfs packaged version)It seems this is a known issue on the go-ipfs package side as referenced in this npm go-ipfs issue but the issue is idle somehow.For the record my actual error when running npm start :