-
-
Save dignifiedquire/1faa19a4adb77520fee5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const c = require('ipfsd-ctl') | |
let node | |
let ipfs | |
c.local((err, n) => { | |
node = n | |
node.startDaemon((err, i) => { | |
console.log(arguments) | |
}) | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node a.js | |
start daemon | |
forking /Users/dignifiedquire/opensource/ipfs/node-subcomandante/subcom [ 6984, | |
'/Users/dignifiedquire/opensource/ipfs/js-ipfsd-ctl/node_modules/go-ipfs/bin/ipfs', | |
'daemon' ] | |
error: [Error: non-zero exit code 1 | |
while running: /Users/dignifiedquire/opensource/ipfs/node-subcomandante/subcom 6984 /Users/dignifiedquire/opensource/ipfs/js-ipfsd-ctl/node_modules/go-ipfs/bin/ipfs daemon | |
Error: Post http://127.0.0.1:5001/api/v0/version?enc=json&stream-channels=true: dial tcp 127.0.0.1:5001: getsockopt: operation timed out | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment