0.40.1 does not print anything
hacdias opened this issue · 6 comments
hacdias commented
Code:
#!/usr/bin/env node
const ipfsClient = require('ipfs-http-client')
;(async () => {
const ipfs = ipfsClient('/ip4/127.0.0.1/tcp/5001')
console.log(await ipfs.id())
})()
Running with 0.40.x does not print anything.
Running with 0.39.x works.
nhynes commented
have you tried using ipfsClient({ apiAddr: '/ip4/127.0.0.1/tcp/5001' })
? the config param changed a bit in the new version
hacdias commented
I did :)
nhynes commented
what about your node version? v13
doesn't work for some reason. (I just ran into this bug, actually :)
hacdias commented
Also 13
alanshaw commented
Looks like a dupe of #1194 - any help you can offer would be greatly appreciated!
hacdias commented
Yes, it seems to be a duplicate! I'll close this one then.
I'll see if I can do anything. I'm really busy this month with exams :'( starting on the 3rd already...