Ipfs js, html compile error

I watched video tutorial: https://www.youtube.com/watch?v=-kdx8rJd8rQ&feature=youtu.be.
And when I tried to make the ipds module it gave an error: IPFS is not a constructor.
I tried fixed it with downgrade version ipfs but get error: Failed at the leveldown@1.9.0 install script.
Maybe someone know what to do?

Hello, why don’t you start by going over the js-ipfs documentation here: https://github.com/ipfs/js-ipfs/tree/master/examples

The video tutorial is from 2017 and at this point probably outdated.

1 Like