-
Notifications
You must be signed in to change notification settings - Fork 1.2k
UnhandledPromiseRejectionWarning: InvalidRepoVersionError: Incompatible repo versions. (IPFS-JS 0.55.3)-(Node Js 14.17.0) #3712
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
i get the same error when I try on windows machine. Not sure if relevant but Go IPFS desktop was installed on this machine already tried with it turned off and on. If i try on ubuntu 20 I don't get this error so maybe a windows issue or because node desktop was previously installed. |
The recent js-ipfs-repo release changed how options are merged which resulted in the wrong `autoMigrate` value being used. Pass it in explicitly and add a test to prevent future regressions. Fixes #3712
The recent js-ipfs-repo release changed how options are merged which resulted in the wrong `autoMigrate` value being used. Pass it in explicitly and add a test to prevent future regressions. Fixes #3712
I just learned about ipfs js, and the version I have installed is version 0.55.3 (https://www.npmjs.com/package/ipfs), besides I'm also using node js with version 14.17.0 (LTS) and MacOS BigSur 11.4
When I follow the tutorial on the link https://github.com/ipfs/js-ipfs/tree/master/examples/ipfs-101 I always get an error like this:
And here is the code from my index.js:
And this is my package.json:
Can you help me to find a solution to this problem?
The text was updated successfully, but these errors were encountered: