Closed tjbdev closed 3 years ago
I checked the readme for orbit-db again and saw
Compatible with js-ipfs versions <= 0.52 and go-ipfs versions <= 0.6.0
So I changed the version of ipfs in package.json to ^0.52
And ran npm install
It didn't get stuck on this error at that point!
@tjbdev , thanks for this thread! Helped me get pass this frustrating issue.
Regards
I am following the field manual , and at this point:
I get the following error, from entering line 2 into node.js
const content = await NPP.node.dag.get(cid)
I do not know if the following is relevant, but it is an abnormality that I will mention in case.
In chapter 1 of the field manual there is the following:
Although I believed that I followed the tutorial perfectly, I do not see a folder of CIDv1 (as in 'zdpu' prefix) in the
/orbitdb
folder.However, doing a
put( )
(withinaddNewPiece( )
) on the "pieces"docstore
that was created does yield a CIDv1.If anyone could help with this issue or try to replicate it, that would be great! Here is my code, in case I've made an error.
newpieceplease.js
main.js
Related: orbitdb/orbit-db#839 , though nothing there solved my issue
EDIT: versions "ipfs": "^0.55.3", "orbit-db": "^0.26.1"