Gaberi
1
Hello all,
Why when I run the node app.js it gives me this error:
const ipfs = new ipfsClient({ host: ‘localhost’, port:‘5001’, protocol:‘http’});
TypeError: ipfsClient is not a function.
Please you’re helping is highly appreciated.
Thanks in advance
Jorropo
2
It’s
const ipfs = ipfsClient.Create({/* ... options ... */})
Not just ipfsClient
.
1 Like
Gaberi
3
Yes, it works now, but I wonder why all the videos that I have seen, they only wrote without (create).
Thanks a lot