Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

error: datastore key does not have a valid format #3865

Closed
oliveriosousa opened this issue Sep 13, 2021 · 4 comments
Closed

error: datastore key does not have a valid format #3865

oliveriosousa opened this issue Sep 13, 2021 · 4 comments
Labels
need/triage Needs initial labeling and prioritization

Comments

@oliveriosousa
Copy link
Contributor

oliveriosousa commented Sep 13, 2021

  • Version:
    0.58.4

  • Subsystem:
    ipfs
    js-ipfs-interfaces

Severity:

High

Description:

  • Error when trying to create an IPFS node:

datastore key does not have a valid format

Steps to reproduce the error:

  • Run IPFS.create();

Maybe it is related with js-ipfs-interfaces bump version (currently is in version 6) and IPFS is targeting the 5 version.

cc @hugomrdias @achingbrain

@oliveriosousa oliveriosousa added the need/triage Needs initial labeling and prioritization label Sep 13, 2021
@achingbrain
Copy link
Member

Please use v5 until #3864 is shipped

@ggcaponetto
Copy link

having the same issue. what does use v5 mean?

@achingbrain
Copy link
Member

@ggcaponetto interface-datastore@v6 needs a coordinated release with libp2p as it's currently depending on v5.

You shouldn't be pulling it in though - can you provide a way of reproducing the error you are seeing?

@ggcaponetto
Copy link

@achingbrain while trying to set up the minimal setup to reproduce the example i found out that deleting the package-lock.json and performing a fresh npm i it solved the problem. I guess i had separate installations of the ipfs modules.

the only dependency i have now is "ipfs": "^0.58.4" and this problem didn't occur anymore. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

4 participants