-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In proc nodes can not be spawned on top of existing repos #214
Comments
+1 . I was wondering how ipfs-desktop achieve this . https://github.com/ipfs-shipyard/ipfs-desktop/blob/master/src/index.js#L238. I copy the code but I errors, then I found out, I'm using |
related? ipfs/js-ipfs#1245 |
Yeah, ipfs-desktop is not using a proc node but there is a fix in #212 (here) that should allow ipfs-desktop to skip that check and rely on the
I don't think that it is. They both have to do with initialization but I think that they're separate. This particular issue is with js-ipfsd-ctl and that issue isn't spawning any daemons. |
@JonKrone is this still an issue? |
So now we can copy the huge repo to a flash drive, and init on it at another country. |
In-process js-ipfs instances are not aware of whether or not they have spawned on top of an existing repo. This basically breaks the node as it can neither
.start
or.init
.I believe this is the cause of an error mentioned in a TODO here:
js-ipfsd-ctl/test/spawn-options.spec.js
Line 121 in 151303c
I think a fix for this can largely mirror how a js-ipfs instance works if the repo exists.
Another in-proc node issue that might be good to group with this: #208
The text was updated successfully, but these errors were encountered: