Skip to content
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

Cannot ipfs start #115

Open
MrToph opened this issue Dec 19, 2018 · 1 comment
Open

Cannot ipfs start #115

MrToph opened this issue Dec 19, 2018 · 1 comment

Comments

@MrToph
Copy link

MrToph commented Dec 19, 2018

Hi,
when I run ipscend ipfs start I get the following error:

no IPFS repo found, going to start a new one
Error: events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: spawn C:\Users\Name\AppData\Roaming\npm\node_modules\ipscend\node_modules\ipfsd-ctl\node_modules\go-ipfs-dep\go-ipfs\ipfs ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
    at onErrorNT (internal/child_process.js:421:16)
    at internalTickCallback (internal/process/next_tick.js:72:19)
    at process._tickCallback (internal/process/next_tick.js:47:5)
    at Function.Module.runMain (internal/modules/cjs/loader.js:777:11)
    at executeUserCode (internal/bootstrap/node.js:342:17)
    at startExecution (internal/bootstrap/node.js:276:5)
    at startup (internal/bootstrap/node.js:227:5)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:252:12)
    at onErrorNT (internal/child_process.js:421:16)
    [... lines matching original stack trace ...]
    at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)

    at Object.done (C:\Users\Name\AppData\Roaming\npm\node_modules\ipscend\node_modules\ipfsd-ctl\src\exec.js:23:27)
    at Stream.listeners.done.once (C:\Users\Name\AppData\Roaming\npm\node_modules\ipscend\node_modules\ipfsd-ctl\src\exec.js:45:18)
    at Stream.f (C:\Users\Name\AppData\Roaming\npm\node_modules\ipscend\node_modules\once\once.js:25:25)
    at Stream.emit (events.js:189:13)
    at Stream.EventEmitter.emit (domain.js:441:20)
    at Socket.reemit (C:\Users\Name\AppData\Roaming\npm\node_modules\ipscend\node_modules\duplexer\index.js:70:25)
    at Socket.emit (events.js:194:15)
    at Socket.EventEmitter.emit (domain.js:441:20)
    at Pipe._handle.close (net.js:610:12)

It seems to fail in ipfsd-ctl. I installed the jsipfs (ipfs npm package) node. Could it be that I need to use the go-ipfs node?

@MrToph
Copy link
Author

MrToph commented Dec 19, 2018

I did npm i -g go-ipfs and then ipfs init. If i re-run ipscend ipfs start, I now get the following error:

starting IPFS daemon (this might take some seconds)
failed to start a daemon

But I can run ipfs daemon just fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant