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

jsipfs init creates a repo that is not compatible with go-ipfs #142

Closed
@daviddias

Description

@daviddias
 ⭠ feature/swarm ⮀ ~/code/_ipfs/js/js-ipfs ⮀
» IPFS_PATH=~/.jsipfs jsipfs init
 ⭠ feature/swarm ⮀ ~/code/_ipfs/js/js-ipfs ⮀
» IPFS_PATH=~/.jsipfs ipfs daemon
Initializing daemon...
Error: no ipfs repo found in /Users/david/.jsipfs.
please run: ipfs init

I believe this is due go-ipfs does datastore (the LevelDB thing) checks, which we never implemented (since we didn't needed until we have the DHT going). Is there a way to create that folder eitherway so that a js-ipfs generated repo does work for a go-ipfs daemon? Simply dropping the same default datastore that go-ipfs generates should do the trick, not sure if there would be any concern there.

@noffle since you made js-ipfs init, would you like to look at this one? Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugA bug in existing code (including security flaws)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions